Interface SubjectDnToUserAttributeCertificateMapperCfg
- All Superinterfaces:
CertificateMapperCfg
,Configuration
A server-side interface for querying Subject DN To User Attribute
Certificate Mapper settings.
The Subject DN To User Attribute Certificate Mapper maps client certificates to user entries by looking for the certificate subject DN in a specified attribute of user entries.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubjectDnToUserAttributeChangeListener
(ConfigurationChangeListener<SubjectDnToUserAttributeCertificateMapperCfg> listener) Register to be notified when this Subject DN To User Attribute Certificate Mapper is changed.Gets the configuration class associated with this Subject DN To User Attribute Certificate Mapper.Gets the "java-class" property.Gets the "subject-attribute" property.Gets the "user-base-dn" property.void
removeSubjectDnToUserAttributeChangeListener
(ConfigurationChangeListener<SubjectDnToUserAttributeCertificateMapperCfg> listener) Deregister an existing Subject DN To User Attribute Certificate Mapper configuration change listener.Methods inherited from interface org.forgerock.opendj.server.config.server.CertificateMapperCfg
addChangeListener, getIssuerAttribute, isEnabled, removeChangeListener
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
configurationClass
Class<? extends SubjectDnToUserAttributeCertificateMapperCfg> configurationClass()Gets the configuration class associated with this Subject DN To User Attribute Certificate Mapper.- Specified by:
configurationClass
in interfaceCertificateMapperCfg
- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this Subject DN To User Attribute Certificate Mapper.
-
addSubjectDnToUserAttributeChangeListener
void addSubjectDnToUserAttributeChangeListener(ConfigurationChangeListener<SubjectDnToUserAttributeCertificateMapperCfg> listener) Register to be notified when this Subject DN To User Attribute Certificate Mapper is changed.- Parameters:
listener
- The Subject DN To User Attribute Certificate Mapper configuration change listener.
-
removeSubjectDnToUserAttributeChangeListener
void removeSubjectDnToUserAttributeChangeListener(ConfigurationChangeListener<SubjectDnToUserAttributeCertificateMapperCfg> listener) Deregister an existing Subject DN To User Attribute Certificate Mapper configuration change listener.- Parameters:
listener
- The Subject DN To User Attribute Certificate Mapper configuration change listener.
-
getJavaClass
String getJavaClass()Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Subject DN To User Attribute Certificate Mapper implementation.
Default value:
org.opends.server.extensions.SubjectDNToUserAttributeCertificateMapper
- Specified by:
getJavaClass
in interfaceCertificateMapperCfg
- Returns:
- Returns the value of the "java-class" property.
-
getSubjectAttribute
AttributeType getSubjectAttribute()Gets the "subject-attribute" property.Specifies the name or OID of the attribute whose value should exactly match the certificate subject DN.
- Returns:
- Returns the value of the "subject-attribute" property.
-
getUserBaseDn
Gets the "user-base-dn" property.Specifies the base DNs that should be used when performing searches to map the client certificate to a user entry.
- Returns:
- Returns an unmodifiable set containing the values of the "user-base-dn" property.
-