public class PropertiesAuthenticatorFactory extends AbstractPropertiesFactory implements AuthenticatorFactory
Modifier and Type | Field and Description |
---|---|
private static Map<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(Map<String,?> jaasOptions)
Creates a new authentication request with the supplied JAAS options.
|
Authenticator |
createAuthenticator(Map<String,?> jaasOptions)
Creates a new authenticator with the supplied JAAS options.
|
protected Authenticator |
createAuthenticatorInternal(Map<String,?> options)
Initializes an authenticator using an authenticator property source.
|
createProperties
private static final Map<String,Authenticator> CACHE
public Authenticator createAuthenticator(Map<String,?> jaasOptions)
AuthenticatorFactory
createAuthenticator
in interface AuthenticatorFactory
jaasOptions
- JAAS configuration optionsprotected Authenticator createAuthenticatorInternal(Map<String,?> options)
options
- to initialize authenticatorpublic AuthenticationRequest createAuthenticationRequest(Map<String,?> jaasOptions)
AuthenticatorFactory
createAuthenticationRequest
in interface AuthenticatorFactory
jaasOptions
- JAAS configuration optionspublic static void close()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.