public class AllowNoneAuthenticationMechanismFactory<T extends AbstractFile> extends DefaultAuthenticationMechanismFactory
keyboardInteractiveProviders, passwordProviders, publickeyProviders, supportedMechanismsKEYBOARD_INTERACTIVE_AUTHENTICATION, NONE, PASSWORD_AUTHENTICATION, PUBLICKEY_AUTHENTICATION| Constructor and Description |
|---|
AllowNoneAuthenticationMechanismFactory() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMechanism |
createInstance(String name,
TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con) |
addKeyboardInteractiveProvider, addPasswordAuthenticationProvider, addProvider, addPublicKeyAuthenticationProvider, getKeyboardInteractiveProviders, getPasswordAuthenticationProviders, getProviders, getPublicKeyAuthenticationProviders, getRequiredMechanisms, getSupportedMechanisms, removeKeyboardInteractiveProvider, removePasswordAuthenticationProvider, removePublicKeyAuthenticationProviderpublic AllowNoneAuthenticationMechanismFactory()
public AuthenticationMechanism createInstance(String name, TransportProtocol transport, AuthenticationProtocol authentication, Connection con) throws UnsupportedChannelException
createInstance in interface AuthenticationMechanismFactorycreateInstance in class DefaultAuthenticationMechanismFactoryUnsupportedChannelExceptionCopyright © 2025. All rights reserved.