Interface CertificateMapperCfgClient
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
FingerprintCertificateMapperCfgClient
,SubjectAttributeToUserAttributeCertificateMapperCfgClient
,SubjectDnToUserAttributeCertificateMapperCfgClient
,SubjectEqualsDnCertificateMapperCfgClient
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
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends CertificateMapperCfgClient,
? extends CertificateMapperCfg> Get the configuration definition associated with this Certificate Mapper.Gets the "issuer-attribute" property.Gets the "java-class" property.Gets the "enabled" property.void
setEnabled
(ValueOrExpression<Boolean> value) Sets the "enabled" property.void
Sets the "issuer-attribute" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends CertificateMapperCfgClient,? extends CertificateMapperCfg> definition()Get the configuration definition associated with this Certificate Mapper.- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Certificate Mapper.
-
isEnabled
Gets the "enabled" property.Indicates whether the Certificate Mapper is enabled.
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
Sets the "enabled" property.Indicates whether the Certificate Mapper is enabled.
- Parameters:
value
- The value of the "enabled" property.- Throws:
PropertyException
- If the new value is invalid.
-
getIssuerAttribute
ValueOrExpression<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.
-
setIssuerAttribute
Sets 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.
- Parameters:
value
- The value of the "issuer-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 Certificate Mapper implementation.
- 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 Certificate Mapper implementation.
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-