|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sshtools.j2ssh.authentication.SshAuthenticationFactory
Factory object to create instances of SSH Authentication objects. Additional authentication methods can be defined in the API configuration file ssh.xml.
Field Summary | |
static java.lang.String |
AUTH_PASSWORD
The Password authentication method name |
Constructor Summary | |
protected |
SshAuthenticationFactory()
Constructor for SshAuthenticationFactory |
Method Summary | |
static java.util.List |
getSupportedMethods()
Gets the supported authentication methods |
static SshAuthentication |
newInstance(java.lang.String methodName)
Creates a new instance of the SshAuthentication object which implements methodName. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String AUTH_PASSWORD
Constructor Detail |
protected SshAuthenticationFactory()
Method Detail |
public static java.util.List getSupportedMethods()
public static SshAuthentication newInstance(java.lang.String methodName) throws AlgorithmNotSupportedException
Creates a new instance of the SshAuthentication object which implements methodName.
methodName
- The method to instansiate
AlgorithmNotSupportedException
- Thrown if the method is not
supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |