public class AllowNoneAuthenticationMechanismFactory<T extends AbstractFile> extends DefaultAuthenticationMechanismFactory
keyboardInteractiveProviders, passwordProviders, publickeyProviders, requiredMechanisms, supportedMechanisms
KEYBOARD_INTERACTIVE_AUTHENTICATION, NONE, PASSWORD_AUTHENTICATION, PUBLICKEY_AUTHENTICATION
Constructor and Description |
---|
AllowNoneAuthenticationMechanismFactory() |
Modifier and Type | Method and Description |
---|---|
AuthenticationMechanism |
createInstance(String name,
TransportProtocol<SshServerContext> transport,
AuthenticationProtocolServer authentication,
Connection<SshServerContext> con) |
addKeyboardInteractiveProvider, addPasswordAuthenticationProvider, addProvider, addPublicKeyAuthenticationProvider, addRequiredMechanism, getKeyboardInteractiveProviders, getPasswordAuthenticationProviders, getProviders, getPublicKeyAuthenticationProviders, getRequiredMechanisms, getSupportedMechanisms, isSupportedMechanism, removeKeyboardInteractiveProvider, removePasswordAuthenticationProvider, removePublicKeyAuthenticationProvider, removeRequiredMechanism
public AllowNoneAuthenticationMechanismFactory()
public AuthenticationMechanism createInstance(String name, TransportProtocol<SshServerContext> transport, AuthenticationProtocolServer authentication, Connection<SshServerContext> con) throws UnsupportedChannelException
createInstance
in interface AuthenticationMechanismFactory
createInstance
in class DefaultAuthenticationMechanismFactory
UnsupportedChannelException
Copyright © 2016. All rights reserved.