public interface IAuthManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CRED_CERT_SERIAL_TO_REVOKE
Standard credential for client cert's serial number from revocation.
|
static java.lang.String |
CRED_HOST_NAME |
static java.lang.String |
CRED_SESSION_ID |
static java.lang.String |
CRED_SSL_CLIENT_CERT |
Modifier and Type | Method and Description |
---|---|
IAuthToken |
authenticate(IAuthCredentials authCred)
Authenticate the given credentials.
|
java.lang.String[] |
getConfigParams()
Get configuration parameters for this implementation.
|
IConfigStore |
getConfigStore()
Get the configuration store for this authentication manager.
|
java.lang.String |
getImplName()
Get name of authentication manager plugin.
|
java.lang.String |
getName()
Get the name of this authentication manager instance.
|
java.lang.String[] |
getRequiredCreds()
Gets a list of the required credentials for this authentication manager.
|
void |
init(java.lang.String name,
java.lang.String implName,
IConfigStore config)
Initialize this authentication manager.
|
void |
shutdown()
Prepare this authentication manager for a shutdown.
|
static final java.lang.String CRED_SSL_CLIENT_CERT
static final java.lang.String CRED_CERT_SERIAL_TO_REVOKE
static final java.lang.String CRED_SESSION_ID
static final java.lang.String CRED_HOST_NAME
java.lang.String getName()
java.lang.String getImplName()
IAuthToken authenticate(IAuthCredentials authCred) throws EMissingCredential, EInvalidCredentials, EBaseException
authCred
- The authentication credentialsEMissingCredential
- If a required credential for this
authentication manager is missing.EInvalidCredentials
- If credentials cannot be authenticated.EBaseException
- If an internal error occurred.void init(java.lang.String name, java.lang.String implName, IConfigStore config) throws EBaseException
name
- The name of this authentication manager instance.implName
- The name of the authentication manager plugin.config
- The configuration store for this authentication manager.EBaseException
- If an initialization error occurred.void shutdown()
java.lang.String[] getRequiredCreds()
java.lang.String[] getConfigParams() throws EBaseException
EBaseException
- If an internal error occurredIConfigStore getConfigStore()