Interface SubjectDnToUserAttributeCertificateMapperCfgClient
- All Superinterfaces:
CertificateMapperCfgClient
,ConfigurationClient
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 TypeMethodDescriptionManagedObjectDefinition<? extends SubjectDnToUserAttributeCertificateMapperCfgClient,
? extends SubjectDnToUserAttributeCertificateMapperCfg> Get the configuration definition 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
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.void
Sets the "subject-attribute" property.void
setUserBaseDn
(Collection<ValueOrExpression<Dn>> values) Sets the "user-base-dn" property.Methods inherited from interface org.forgerock.opendj.server.config.client.CertificateMapperCfgClient
getIssuerAttribute, isEnabled, setEnabled, setIssuerAttribute
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends SubjectDnToUserAttributeCertificateMapperCfgClient,? extends SubjectDnToUserAttributeCertificateMapperCfg> definition()Get the configuration definition associated with this Subject DN To User Attribute Certificate Mapper.- Specified by:
definition
in interfaceCertificateMapperCfgClient
- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Subject DN To User Attribute Certificate Mapper.
-
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 interfaceCertificateMapperCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Subject DN To User Attribute Certificate Mapper implementation.
- Specified by:
setJavaClass
in interfaceCertificateMapperCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
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.
-
setSubjectAttribute
@MandatoryProperty void setSubjectAttribute(ValueOrExpression<AttributeType> value) throws PropertyException Sets the "subject-attribute" property.Specifies the name or OID of the attribute whose value should exactly match the certificate subject DN.
- Parameters:
value
- The value of the "subject-attribute" property.- Throws:
PropertyException
- If the new value is invalid.
-
getUserBaseDn
SortedSet<ValueOrExpression<Dn>> 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 the values of the "user-base-dn" property.
-
setUserBaseDn
Sets 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.
- Parameters:
values
- The values of the "user-base-dn" property.- Throws:
PropertyException
- If one or more of the new values are invalid.
-