public class PropertiesAuthenticatorFactory extends AbstractPropertiesFactory implements AuthenticatorFactory
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.String,Authenticator> |
CACHE
Object CACHE.
|
CACHE_ID, logger| Constructor and Description |
|---|
PropertiesAuthenticatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
close()
Iterates over the CACHE and closes any managed dn resolvers and managed authentication handlers.
|
AuthenticationRequest |
createAuthenticationRequest(java.util.Map<java.lang.String,?> jaasOptions)
Creates a new authentication request with the supplied JAAS options.
|
Authenticator |
createAuthenticator(java.util.Map<java.lang.String,?> jaasOptions)
Creates a new authenticator with the supplied JAAS options.
|
protected Authenticator |
createAuthenticatorInternal(java.util.Map<java.lang.String,?> options)
Initializes an authenticator using an authenticator property source.
|
createPropertiesprivate static final java.util.Map<java.lang.String,Authenticator> CACHE
public Authenticator createAuthenticator(java.util.Map<java.lang.String,?> jaasOptions)
AuthenticatorFactorycreateAuthenticator in interface AuthenticatorFactoryjaasOptions - JAAS configuration optionsprotected Authenticator createAuthenticatorInternal(java.util.Map<java.lang.String,?> options)
options - to initialize authenticatorpublic AuthenticationRequest createAuthenticationRequest(java.util.Map<java.lang.String,?> jaasOptions)
AuthenticatorFactorycreateAuthenticationRequest in interface AuthenticatorFactoryjaasOptions - JAAS configuration optionspublic static void close()