Interface SubjectAttributeToUserAttributeCertificateMapperCfg
-
- All Superinterfaces:
CertificateMapperCfg
,Configuration
public interface SubjectAttributeToUserAttributeCertificateMapperCfg extends CertificateMapperCfg
A server-side interface for querying Subject Attribute To User Attribute Certificate Mapper settings.The Subject Attribute To User Attribute Certificate Mapper maps client certificates to user entries by mapping the values of attributes contained in the certificate subject to attributes contained in user entries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSubjectAttributeToUserAttributeChangeListener(ConfigurationChangeListener<SubjectAttributeToUserAttributeCertificateMapperCfg> listener)
Register to be notified when this Subject Attribute To User Attribute Certificate Mapper is changed.Class<? extends SubjectAttributeToUserAttributeCertificateMapperCfg>
configurationClass()
Gets the configuration class associated with this Subject Attribute To User Attribute Certificate Mapper.String
getJavaClass()
Gets the "java-class" property.SortedSet<String>
getSubjectAttributeMapping()
Gets the "subject-attribute-mapping" property.SortedSet<Dn>
getUserBaseDn()
Gets the "user-base-dn" property.void
removeSubjectAttributeToUserAttributeChangeListener(ConfigurationChangeListener<SubjectAttributeToUserAttributeCertificateMapperCfg> listener)
Deregister an existing Subject Attribute 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 Detail
-
configurationClass
Class<? extends SubjectAttributeToUserAttributeCertificateMapperCfg> configurationClass()
Gets the configuration class associated with this Subject Attribute To User Attribute Certificate Mapper.- Specified by:
configurationClass
in interfaceCertificateMapperCfg
- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this Subject Attribute To User Attribute Certificate Mapper.
-
addSubjectAttributeToUserAttributeChangeListener
void addSubjectAttributeToUserAttributeChangeListener(ConfigurationChangeListener<SubjectAttributeToUserAttributeCertificateMapperCfg> listener)
Register to be notified when this Subject Attribute To User Attribute Certificate Mapper is changed.- Parameters:
listener
- The Subject Attribute To User Attribute Certificate Mapper configuration change listener.
-
removeSubjectAttributeToUserAttributeChangeListener
void removeSubjectAttributeToUserAttributeChangeListener(ConfigurationChangeListener<SubjectAttributeToUserAttributeCertificateMapperCfg> listener)
Deregister an existing Subject Attribute To User Attribute Certificate Mapper configuration change listener.- Parameters:
listener
- The Subject Attribute 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 Attribute To User Attribute Certificate Mapper implementation.
Default value:
org.opends.server.extensions.SubjectAttributeToUserAttributeCertificateMapper
- Specified by:
getJavaClass
in interfaceCertificateMapperCfg
- Returns:
- Returns the value of the "java-class" property.
-
getSubjectAttributeMapping
SortedSet<String> getSubjectAttributeMapping()
Gets the "subject-attribute-mapping" property.Specifies a mapping between certificate attributes and user attributes.
Each value should be in the form "certattr:userattr" where certattr is the name of the attribute in the certificate subject and userattr is the name of the corresponding attribute in user entries. There may be multiple mappings defined, and when performing the mapping values for all attributes present in the certificate subject that have mappings defined must be present in the corresponding user entries.
- Returns:
- Returns an unmodifiable set containing the values of the "subject-attribute-mapping" property.
-
-