public class AllowNoneAuthenticationMechanismFactory extends DefaultAuthenticationMechanismFactory
passwordProviders, publickeyProviders, supportedMechanismsKEYBOARD_INTERACTIVE_AUTHENTICATION, NONE, PASSWORD_AUTHENTICATION, PUBLICKEY_AUTHENTICATION| Constructor and Description |
|---|
AllowNoneAuthenticationMechanismFactory(SshContext context) |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMechanism |
createInstance(String name,
org.apache.mina.core.session.IoSession session,
SshTransport transport,
AuthenticationProtocol authentication,
Connection con) |
addPasswordAuthenticationProvider, addProvider, addPublicKeyAuthenticationProvider, getKeyboardInteractiveProvider, getPasswordAuthenticationProviders, getPublicKeyAuthenticationProviders, getSupportedMechanisms, remotePasswordAuthenticationProvider, remotePublicKeyAuthenticationProviderpublic AllowNoneAuthenticationMechanismFactory(SshContext context)
public AuthenticationMechanism createInstance(String name, org.apache.mina.core.session.IoSession session, SshTransport transport, AuthenticationProtocol authentication, Connection con) throws UnsupportedChannelException
createInstance in interface AuthenticationMechanismFactorycreateInstance in class DefaultAuthenticationMechanismFactoryUnsupportedChannelExceptionCopyright © 2012. All Rights Reserved.