Interface CertificateMapperCfg
-
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
FingerprintCertificateMapperCfg
,SubjectAttributeToUserAttributeCertificateMapperCfg
,SubjectDnToUserAttributeCertificateMapperCfg
,SubjectEqualsDnCertificateMapperCfg
public interface CertificateMapperCfg extends Configuration
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChangeListener(ConfigurationChangeListener<CertificateMapperCfg> listener)
Register to be notified when this Certificate Mapper is changed.Class<? extends CertificateMapperCfg>
configurationClass()
Gets the configuration class associated with this Certificate Mapper.AttributeType
getIssuerAttribute()
Gets the "issuer-attribute" property.String
getJavaClass()
Gets the "java-class" property.boolean
isEnabled()
Gets the "enabled" property.void
removeChangeListener(ConfigurationChangeListener<CertificateMapperCfg> listener)
Deregister an existing Certificate Mapper configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends CertificateMapperCfg> configurationClass()
Gets the configuration class associated with this Certificate Mapper.- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this Certificate Mapper.
-
addChangeListener
void addChangeListener(ConfigurationChangeListener<CertificateMapperCfg> listener)
Register to be notified when this Certificate Mapper is changed.- Parameters:
listener
- The Certificate Mapper configuration change listener.
-
removeChangeListener
void removeChangeListener(ConfigurationChangeListener<CertificateMapperCfg> listener)
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.
-
-