public interface AuthenticationMechanismFactory
Modifier and Type | Field and Description |
---|---|
static String |
KEYBOARD_INTERACTIVE_AUTHENTICATION |
static String |
NONE |
static String |
PASSWORD_AUTHENTICATION |
static String |
PUBLICKEY_AUTHENTICATION |
Modifier and Type | Method and Description |
---|---|
void |
addProvider(Authenticator provider) |
AuthenticationMechanism |
createInstance(String name,
TransportProtocol transport,
AuthenticationProtocol authentication,
Connection con) |
Authenticator[] |
getProviders(String name,
Connection con) |
String[] |
getRequiredMechanisms(Connection con) |
String[] |
getSupportedMechanisms() |
static final String NONE
static final String PASSWORD_AUTHENTICATION
static final String PUBLICKEY_AUTHENTICATION
static final String KEYBOARD_INTERACTIVE_AUTHENTICATION
AuthenticationMechanism createInstance(String name, TransportProtocol transport, AuthenticationProtocol authentication, Connection con) throws UnsupportedChannelException
UnsupportedChannelException
String[] getRequiredMechanisms(Connection con)
String[] getSupportedMechanisms()
Authenticator[] getProviders(String name, Connection con)
void addProvider(Authenticator provider)
Copyright © 2024. All rights reserved.