Interface FingerprintCertificateMapperCfgClient
- All Superinterfaces:
CertificateMapperCfgClient
,ConfigurationClient
The Fingerprint Certificate Mapper maps client certificates to user entries by looking for the fingerprint in a specified attribute of user entries.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends FingerprintCertificateMapperCfgClient,
? extends FingerprintCertificateMapperCfg> Get the configuration definition associated with this Fingerprint Certificate Mapper.Gets the "fingerprint-algorithm" property.Gets the "fingerprint-attribute" property.Gets the "java-class" property.Gets the "user-base-dn" property.void
setFingerprintAlgorithm
(ValueOrExpression<FingerprintCertificateMapperCfgDefn.FingerprintAlgorithm> value) Sets the "fingerprint-algorithm" property.void
Sets the "fingerprint-attribute" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" 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 FingerprintCertificateMapperCfgClient,? extends FingerprintCertificateMapperCfg> definition()Get the configuration definition associated with this Fingerprint Certificate Mapper.- Specified by:
definition
in interfaceCertificateMapperCfgClient
- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Fingerprint Certificate Mapper.
-
getFingerprintAlgorithm
@MandatoryProperty ValueOrExpression<FingerprintCertificateMapperCfgDefn.FingerprintAlgorithm> getFingerprintAlgorithm()Gets the "fingerprint-algorithm" property.Specifies the name of the digest algorithm to compute the fingerprint of client certificates.
- Returns:
- Returns the value of the "fingerprint-algorithm" property.
-
setFingerprintAlgorithm
@MandatoryProperty void setFingerprintAlgorithm(ValueOrExpression<FingerprintCertificateMapperCfgDefn.FingerprintAlgorithm> value) throws PropertyException Sets the "fingerprint-algorithm" property.Specifies the name of the digest algorithm to compute the fingerprint of client certificates.
- Parameters:
value
- The value of the "fingerprint-algorithm" property.- Throws:
PropertyException
- If the new value is invalid.
-
getFingerprintAttribute
Gets the "fingerprint-attribute" property.Specifies the attribute in which to look for the fingerprint.
Values of the fingerprint attribute should exactly match the MD5 or SHA1 representation of the certificate fingerprint.
- Returns:
- Returns the value of the "fingerprint-attribute" property.
-
setFingerprintAttribute
@MandatoryProperty void setFingerprintAttribute(ValueOrExpression<AttributeType> value) throws PropertyException Sets the "fingerprint-attribute" property.Specifies the attribute in which to look for the fingerprint.
Values of the fingerprint attribute should exactly match the MD5 or SHA1 representation of the certificate fingerprint.
- Parameters:
value
- The value of the "fingerprint-attribute" property.- Throws:
PropertyException
- If the new value is invalid.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Fingerprint Certificate Mapper implementation.
Default value:
org.opends.server.extensions.FingerprintCertificateMapper
- 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 Fingerprint 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.
-
getUserBaseDn
SortedSet<ValueOrExpression<Dn>> getUserBaseDn()Gets the "user-base-dn" property.Specifies the set of base DNs below which to search for users.
The base DNs are used when performing searches to map the client certificates to a user entry.
- Returns:
- Returns the values of the "user-base-dn" property.
-
setUserBaseDn
Sets the "user-base-dn" property.Specifies the set of base DNs below which to search for users.
The base DNs are used when performing searches to map the client certificates 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.
-