public class SubjectEqualsDNCertificateMapper extends CertificateMapper<SubjectEqualsDnCertificateMapperCfg>
Constructor and Description |
---|
SubjectEqualsDNCertificateMapper()
Creates a new instance of this certificate mapper.
|
Modifier and Type | Method and Description |
---|---|
protected ConfigChangeResult |
applyConfigurationChange0(SubjectEqualsDnCertificateMapperCfg configuration)
Implements certificate mapper specific actions when updating the configuration.
|
void |
finalizeCertificateMapper()
Performs any finalization that may be necessary for this certificate mapper.
|
protected void |
initializeCertificateMapper0(SubjectEqualsDnCertificateMapperCfg configuration)
Implements certificate mapper specific actions when initializing the certificate mapper.
|
Entry |
mapCertificateToUser0(Certificate[] certificateChain)
Establishes a mapping between the information in the provided certificate chain to the DN of a single user in the
Directory Server.
|
applyConfigurationChange, initializeCertificateMapper, isConfigurationAcceptable, isConfigurationChangeAcceptable, mapCertificateToUser
public SubjectEqualsDNCertificateMapper()
initializeCertificateMapper
method.protected void initializeCertificateMapper0(SubjectEqualsDnCertificateMapperCfg configuration)
CertificateMapper
initializeCertificateMapper0
in class CertificateMapper<SubjectEqualsDnCertificateMapperCfg>
configuration
- The configuration that should be used to intialize this certificate mapper.public Entry mapCertificateToUser0(Certificate[] certificateChain) throws LdapException
mapCertificateToUser0
in class CertificateMapper<SubjectEqualsDnCertificateMapperCfg>
certificateChain
- The certificate chain presented by the client during SSL negotiation. The peer certificate will be
listed first, followed by the ordered issuer chain as appropriate.null
if no mapping was
established and no special message is required to send back to the client.LdapException
- If a problem occurred while attempting to establish the mapping. This may include internal failures,
a mapping which matches multiple users, or any other case in which an error message should be
returned to the client.protected ConfigChangeResult applyConfigurationChange0(SubjectEqualsDnCertificateMapperCfg configuration)
CertificateMapper
applyConfigurationChange0
in class CertificateMapper<SubjectEqualsDnCertificateMapperCfg>
configuration
- the new configuration to usepublic void finalizeCertificateMapper()
CertificateMapper
finalizeCertificateMapper
in class CertificateMapper<SubjectEqualsDnCertificateMapperCfg>
Copyright 2010-2022 ForgeRock AS.