public class ClientCertificateAuthenticationHandler extends AuthenticationHandler implements JPropertiesListener
| Modifier and Type | Field and Description |
|---|---|
static int |
ORDER_CLIENT_CERTIFICATE_HANDLER |
channel, GENERIC_BAD_AUTHENTICATION_MSG, REVISIONREVISION| Modifier and Type | Method and Description |
|---|---|
static ClientCertificateAuthenticationHandler |
getInstance() |
boolean |
isEnabled() |
void |
loadProperties()
This method will be called by the AuthenticationManager each time the
Channel properties are loaded/reloaded.
You can use it to reload properties that might have been changed. This method is called during initialization of the AuthenticationManager |
void |
login(AuthenticationContext ctxt)
Authenticate a member.
|
void |
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.
|
public static final int ORDER_CLIENT_CERTIFICATE_HANDLER
public static final ClientCertificateAuthenticationHandler getInstance()
public boolean isEnabled()
public void loadProperties()
AuthenticationHandlerloadProperties in class AuthenticationHandlerpublic void login(AuthenticationContext ctxt) throws java.io.IOException
AuthenticationHandlerAuthenticationContext object (request, response, login.. etc) AuthenticationContext.setLoggedMember(com.jalios.jcms.Member)AuthenticationContext.doChain(),AuthenticationContext.login in class AuthenticationHandlerctxt - the AuthenticationContext used for this loginjava.io.IOExceptionpublic void propertiesChange(JProperties properties)
JPropertiesListenerYou cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using channel.getProperties or
channel.getProperty.
propertiesChange in interface JPropertiesListenerproperties - the properties which have been submitted to changeCopyright © 2001-2022 Jalios SA. All Rights Reserved.