Interface CertificateMapperCfg
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
FingerprintCertificateMapperCfg,SubjectAttributeToUserAttributeCertificateMapperCfg,SubjectDnToUserAttributeCertificateMapperCfg,SubjectEqualsDnCertificateMapperCfg
A server-side interface for querying Certificate Mapper settings.
Certificate Mappers are responsible for establishing a mapping between a client certificate and the entry for the user that corresponds to that certificate.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this Certificate Mapper is changed.Class<? extends CertificateMapperCfg>Gets the configuration class associated with this Certificate Mapper.Gets the "issuer-attribute" property.Gets the "java-class" property.booleanGets the "enabled" property.voidDeregister an existing Certificate Mapper configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
configurationClass
Class<? extends CertificateMapperCfg> configurationClass()Gets the configuration class associated with this Certificate Mapper.- Specified by:
configurationClassin interfaceConfiguration- Returns:
- Returns the configuration class associated with this Certificate Mapper.
-
addChangeListener
Register to be notified when this Certificate Mapper is changed.- Parameters:
listener- The Certificate Mapper configuration change listener.
-
removeChangeListener
Deregister an existing Certificate Mapper configuration change listener.- Parameters:
listener- The Certificate Mapper configuration change listener.
-
isEnabled
boolean isEnabled()Gets the "enabled" property.Indicates whether the Certificate Mapper is enabled.
- Returns:
- Returns the value of the "enabled" property.
-
getIssuerAttribute
AttributeType getIssuerAttribute()Gets the "issuer-attribute" property.Specifies the name or OID of the attribute whose value should exactly match the certificate issuer DN.
Certificate issuer verification should be enabled whenever multiple CAs are trusted in order to prevent impersonation. In particular, it is possible for different CAs to issue certificates having the same subject DN.
- Returns:
- Returns the value of the "issuer-attribute" property.
-
getJavaClass
String getJavaClass()Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Certificate Mapper implementation.
- Returns:
- Returns the value of the "java-class" property.
-