|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.authentication.SSLclientCertAuthentication
public class SSLclientCertAuthentication
Certificate server SSL client authentication.
| Field Summary | |
|---|---|
static java.lang.String |
CRED_CERT
|
protected static java.lang.String[] |
mConfigParams
|
protected java.lang.String[] |
mRequiredCreds
|
static java.lang.String |
TOKEN_UID
|
static java.lang.String |
TOKEN_USER_DN
|
static java.lang.String |
TOKEN_USERDN
|
static java.lang.String |
TOKEN_USERID
|
| Fields inherited from interface com.netscape.certsrv.profile.IProfileAuthenticator |
|---|
AUTHENTICATED_NAME |
| Fields inherited from interface com.netscape.certsrv.authentication.IAuthManager |
|---|
CRED_CERT_SERIAL_TO_REVOKE, CRED_HOST_NAME, CRED_SESSION_ID, CRED_SSL_CLIENT_CERT |
| Constructor Summary | |
|---|---|
SSLclientCertAuthentication()
|
|
| Method Summary | |
|---|---|
IAuthToken |
authenticate(IAuthCredentials authCred)
authenticates user by certificate |
java.lang.String[] |
getConfigParams()
get the list of configuration parameter names required by this authentication manager. |
IConfigStore |
getConfigStore()
gets the configuretion substore used by this authentication manager |
java.lang.String |
getImplName()
Gets the plugin name of authentication manager. |
java.lang.String |
getName()
Gets the name of this authentication manager. |
java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy. |
java.lang.String[] |
getRequiredCreds()
get the list of authentication credential attribute names required by this authentication manager. |
java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy. |
IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given value parameter by name. |
java.util.Enumeration |
getValueNames()
Retrieves a list of names of the value parameter. |
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy. |
void |
init(java.lang.String name,
java.lang.String implName,
IConfigStore config)
initializes the SSLClientCertAuthentication auth manager |
boolean |
isSSLClientRequired()
Checks if this authenticator requires SSL client authentication. |
boolean |
isValueWriteable(java.lang.String name)
Checks if the value of the given property should be serializable into the request. |
void |
populate(IAuthToken token,
IRequest request)
Populates authentication specific information into the request for auditing purposes. |
void |
shutdown()
prepare this authentication manager for shutdown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TOKEN_USERDN
public static final java.lang.String TOKEN_USER_DN
public static final java.lang.String TOKEN_USERID
public static final java.lang.String TOKEN_UID
public static final java.lang.String CRED_CERT
protected java.lang.String[] mRequiredCreds
protected static java.lang.String[] mConfigParams
| Constructor Detail |
|---|
public SSLclientCertAuthentication()
| Method Detail |
|---|
public void init(java.lang.String name,
java.lang.String implName,
IConfigStore config)
throws EBaseException
called by AuthSubsystem init() method, when initializing all available authentication managers.
init in interface IAuthManagername - 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.public java.lang.String getName()
getName in interface IAuthManagerpublic java.lang.String getImplName()
getImplName in interface IAuthManagerpublic boolean isSSLClientRequired()
IProfileAuthenticator
isSSLClientRequired in interface IProfileAuthenticator
public IAuthToken authenticate(IAuthCredentials authCred)
throws EMissingCredential,
EInvalidCredentials,
EBaseException
called by other subsystems or their servlets to authenticate users
authenticate in interface IAuthManagerauthCred - - authentication credential that contains
an usrgrp.Certificates of the user (agent)
EMissingCredential - If a required credential for this
authentication manager is missing.
EInvalidCredentials - If credentials cannot be authenticated.
EBaseException - If an internal error occurred.AuthToken,
Certificatespublic java.lang.String[] getRequiredCreds()
getRequiredCreds in interface IAuthManagerpublic java.lang.String[] getConfigParams()
getConfigParams in interface IAuthManagerpublic void shutdown()
shutdown in interface IAuthManagerpublic IConfigStore getConfigStore()
getConfigStore in interface IAuthManagergetConfigStore in interface IProfileAuthenticator
public void init(IProfile profile,
IConfigStore config)
throws EProfileException
IProfileAuthenticator
init in interface IProfileAuthenticatorprofile - owner of this authenticatorconfig - configuration store
EProfileException - failed to initializepublic java.lang.String getName(java.util.Locale locale)
getName in interface IProfileAuthenticatorlocale - end user locale
public java.lang.String getText(java.util.Locale locale)
getText in interface IProfileAuthenticatorlocale - end user locale
public java.util.Enumeration getValueNames()
getValueNames in interface IProfileAuthenticatorpublic boolean isValueWriteable(java.lang.String name)
IProfileAuthenticator
isValueWriteable in interface IProfileAuthenticatorname - property name
public IDescriptor getValueDescriptor(java.util.Locale locale,
java.lang.String name)
getValueDescriptor in interface IProfileAuthenticatorlocale - user localename - property name
public void populate(IAuthToken token,
IRequest request)
throws EProfileException
IProfileAuthenticator
populate in interface IProfileAuthenticatortoken - authentication tokenrequest - request
EProfileException - failed to populate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||