public class AllowNoneAuthenticationMechanismFactory<T extends AbstractFile> extends DefaultAuthenticationMechanismFactory
keyboardInteractiveProviders, passwordProviders, publickeyProviders, supportedMechanisms
KEYBOARD_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, removePublicKeyAuthenticationProvider
public AllowNoneAuthenticationMechanismFactory()
public AuthenticationMechanism createInstance(String name, TransportProtocol transport, AuthenticationProtocol authentication, Connection con) throws UnsupportedChannelException
createInstance
in interface AuthenticationMechanismFactory
createInstance
in class DefaultAuthenticationMechanismFactory
UnsupportedChannelException
Copyright © 2024. All rights reserved.