|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
com.mindbright.application.MindTermLite
This is a more light-weight version of MindTerm. It has less UI and at startup it only shows a basic login window. All other functionality like port forwards and terminal windows are available through plugins (in the plugins menu).
In order to keep the jar-file smaller some functionality
(terminal-window and proxy pass through) has been split out into
separate jar-files which are loaded if needed. When looking for
these classes the code first checks to see if they are already
loaded otherwise it checks the jar-path (a
':'-separated list of directories) for the needed jar-files.
| Nested Class Summary |
| Nested classes inherited from class java.applet.Applet |
java.applet.Applet.AccessibleApplet |
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
RandomSeed |
randomSeed
|
SecureRandomAndPad |
secureRandom
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
MindTermLite()
|
|
| Method Summary | |
void |
alert(java.lang.String message)
|
boolean |
confirm(java.lang.String message,
boolean defAnswer)
|
void |
connect()
|
java.awt.Image |
createImage(java.lang.String file)
|
void |
disconnect()
|
boolean |
fingerprintMatch(SSH2Signature serverHostKey)
|
java.applet.AppletContext |
getAppletContext()
|
java.lang.String |
getAppName()
|
SSH2Connection |
getConnection()
|
SSHConsoleRemote |
getConsoleRemote()
|
java.lang.String |
getHost()
|
SSH2Interactor |
getInteractor()
|
java.awt.Frame |
getParentFrame()
|
int |
getPort()
|
java.util.Properties |
getProperties()
|
java.lang.String |
getProperty(java.lang.String name)
|
java.lang.String |
getProxyPassword(java.lang.String type,
java.lang.String challenge)
|
java.lang.String |
getProxyUsername(java.lang.String type,
java.lang.String challenge)
|
RandomSeed |
getRandomSeed()
|
SSH2Transport |
getTransport()
|
java.lang.String |
getUserName()
|
void |
init()
|
void |
initSeedGenerator()
|
boolean |
isApplet()
|
boolean |
isConnected()
|
static void |
main(java.lang.String[] argv)
|
java.lang.String |
promptLine(java.lang.String prompt,
boolean echo)
Prompt for a single string. |
int |
promptList(java.lang.String name,
java.lang.String instruction,
java.lang.String[] choices)
This function is only used by AppGate internal code so there is no need to actually implement it in any other code. |
java.lang.String[] |
promptMulti(java.lang.String[] prompts,
boolean[] echos)
Prompt for multiple strings. |
java.lang.String[] |
promptMultiFull(java.lang.String name,
java.lang.String instruction,
java.lang.String[] prompts,
boolean[] echos)
Prompt for multiple strings. |
java.io.ByteArrayOutputStream |
readResource(java.lang.String name)
|
void |
run()
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
startMeUp()
|
| Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
| Methods inherited from class java.awt.Panel |
addNotify |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public RandomSeed randomSeed
public SecureRandomAndPad secureRandom
| Constructor Detail |
public MindTermLite()
| Method Detail |
public void init()
public static void main(java.lang.String[] argv)
public void startMeUp()
public void run()
run in interface java.lang.Runnable
public void connect()
throws SSH2Exception,
java.io.IOException
SSH2Exception
java.io.IOExceptionpublic void disconnect()
public void initSeedGenerator()
public boolean fingerprintMatch(SSH2Signature serverHostKey)
public java.io.ByteArrayOutputStream readResource(java.lang.String name)
public java.awt.Image createImage(java.lang.String file)
public java.lang.String promptLine(java.lang.String prompt,
boolean echo)
throws SSH2UserCancelException
SSH2Interactor
promptLine in interface SSH2Interactorprompt - The prompt string to showecho - True if the text the user enters should be
echoed.
SSH2UserCancelException
public java.lang.String[] promptMulti(java.lang.String[] prompts,
boolean[] echos)
throws SSH2UserCancelException
SSH2Interactor
promptMulti in interface SSH2Interactorprompts - List of prompts to showechos - List of boolean values which indicates if the
text entered for the corresponding prompt should
be echoed.
SSH2UserCancelException
public java.lang.String[] promptMultiFull(java.lang.String name,
java.lang.String instruction,
java.lang.String[] prompts,
boolean[] echos)
throws SSH2UserCancelException
SSH2Interactor
promptMultiFull in interface SSH2Interactorname - Suggested title of the dialoginstruction - Instructions to show to user in the dialogprompts - List of prompts to showechos - List of boolean values which indicates if the
text entered for the corresponding prompt should
be echoed.
SSH2UserCancelException
public int promptList(java.lang.String name,
java.lang.String instruction,
java.lang.String[] choices)
throws SSH2UserCancelException
SSH2InteractorIt is used to let the user select one element in a list.
promptList in interface SSH2Interactorname - Suggested title of dialoginstruction - Instructions to show to userchoices - Array of possible choices
SSH2UserCancelExceptionpublic java.lang.String getHost()
getHost in interface MindTermApppublic int getPort()
getPort in interface MindTermApppublic java.util.Properties getProperties()
getProperties in interface MindTermApppublic java.lang.String getProperty(java.lang.String name)
getProperty in interface MindTermApp
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface MindTermApppublic java.lang.String getUserName()
getUserName in interface MindTermApppublic java.awt.Frame getParentFrame()
getParentFrame in interface MindTermApppublic java.lang.String getAppName()
getAppName in interface MindTermApppublic RandomSeed getRandomSeed()
getRandomSeed in interface MindTermApppublic SSH2Interactor getInteractor()
getInteractor in interface MindTermApppublic void alert(java.lang.String message)
alert in interface MindTermApp
public boolean confirm(java.lang.String message,
boolean defAnswer)
public boolean isConnected()
isConnected in interface MindTermApppublic boolean isApplet()
isApplet in interface MindTermApppublic java.applet.AppletContext getAppletContext()
getAppletContext in interface MindTermApppublic SSH2Transport getTransport()
getTransport in interface MindTermApppublic SSH2Connection getConnection()
getConnection in interface MindTermApppublic SSHConsoleRemote getConsoleRemote()
getConsoleRemote in interface MindTermApp
public java.lang.String getProxyUsername(java.lang.String type,
java.lang.String challenge)
throws java.io.IOException
getProxyUsername in interface ProxyAuthenticatorjava.io.IOException
public java.lang.String getProxyPassword(java.lang.String type,
java.lang.String challenge)
throws java.io.IOException
getProxyPassword in interface ProxyAuthenticatorjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||