|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.j2ssh.authentication.SshAuthenticationClient
com.sshtools.j2ssh.agent.AgentAuthenticationClient
Provides an application with an authentication mechanism that links to the sshtools agent; the agent stores private keys and can hash and sign data for the public key authentication request.
Field Summary | |
protected SshAgentClient |
agent
DOCUMENT ME! |
Constructor Summary | |
AgentAuthenticationClient()
Creates a new AgentAuthenticationClient object. |
Method Summary | |
boolean |
acceptsKey(AuthenticationProtocolClient authentication,
java.lang.String username,
java.lang.String serviceToStart,
SshPublicKey key)
DOCUMENT ME! |
void |
authenticate(AuthenticationProtocolClient authentication,
java.lang.String serviceToStart)
DOCUMENT ME! |
boolean |
canAuthenticate()
DOCUMENT ME! |
java.lang.String |
getMethodName()
DOCUMENT ME! |
java.util.Properties |
getPersistableProperties()
DOCUMENT ME! |
void |
setAgent(SshAgentClient agent)
|
void |
setPersistableProperties(java.util.Properties properties)
DOCUMENT ME! |
boolean |
showAuthenticationDialog(java.awt.Component parent)
DOCUMENT ME! |
Methods inherited from class com.sshtools.j2ssh.authentication.SshAuthenticationClient |
canPrompt, getAuthenticationPrompt, getUsername, setAuthenticationPrompt, setUsername |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SshAgentClient agent
Constructor Detail |
public AgentAuthenticationClient()
Method Detail |
public void setAgent(SshAgentClient agent)
public java.lang.String getMethodName()
getMethodName
in class SshAuthenticationClient
public boolean acceptsKey(AuthenticationProtocolClient authentication, java.lang.String username, java.lang.String serviceToStart, SshPublicKey key) throws java.io.IOException
authentication
- DOCUMENT ME!username
- DOCUMENT ME!serviceToStart
- DOCUMENT ME!key
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public void authenticate(AuthenticationProtocolClient authentication, java.lang.String serviceToStart) throws java.io.IOException, TerminatedStateException
authenticate
in class SshAuthenticationClient
authentication
- DOCUMENT ME!serviceToStart
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!
TerminatedStateException
- DOCUMENT ME!
AuthenticationProtocolException
- DOCUMENT ME!public boolean showAuthenticationDialog(java.awt.Component parent)
parent
- DOCUMENT ME!
public java.util.Properties getPersistableProperties()
getPersistableProperties
in class SshAuthenticationClient
public void setPersistableProperties(java.util.Properties properties)
setPersistableProperties
in class SshAuthenticationClient
properties
- DOCUMENT ME!public boolean canAuthenticate()
canAuthenticate
in class SshAuthenticationClient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |