Interface CramMd5SaslMechanismHandlerCfgClient
- All Superinterfaces:
ConfigurationClient
,SaslMechanismHandlerCfgClient
The CRAM-MD5 SASL mechanism provides the ability for clients to perform password-based authentication in a manner that does not expose their password in the clear.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends CramMd5SaslMechanismHandlerCfgClient,
? extends CramMd5SaslMechanismHandlerCfg> Get the configuration definition associated with this CRAM-MD5 SASL Mechanism Handler.Gets the "identity-mapper" property.Gets the "java-class" property.void
setIdentityMapper
(Collection<ValueOrExpression<String>> values) Sets the "identity-mapper" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
Methods inherited from interface org.forgerock.opendj.server.config.client.SaslMechanismHandlerCfgClient
isEnabled, setEnabled
-
Method Details
-
definition
ManagedObjectDefinition<? extends CramMd5SaslMechanismHandlerCfgClient,? extends CramMd5SaslMechanismHandlerCfg> definition()Get the configuration definition associated with this CRAM-MD5 SASL Mechanism Handler.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceSaslMechanismHandlerCfgClient
- Returns:
- Returns the configuration definition associated with this CRAM-MD5 SASL Mechanism Handler.
-
getIdentityMapper
Gets the "identity-mapper" property.Specifies the name(s) of the identity mapper(s) used with this SASL mechanism handler to match the authentication ID included in the SASL bind request to the corresponding user in the directory.
- Returns:
- Returns the values of the "identity-mapper" property.
-
setIdentityMapper
@MandatoryProperty void setIdentityMapper(Collection<ValueOrExpression<String>> values) throws PropertyException Sets the "identity-mapper" property.Specifies the name(s) of the identity mapper(s) used with this SASL mechanism handler to match the authentication ID included in the SASL bind request to the corresponding user in the directory.
- Parameters:
values
- The values of the "identity-mapper" property.- Throws:
PropertyException
- If one or more of the new values are invalid.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the SASL mechanism handler implementation.
Default value:
org.opends.server.extensions.CRAMMD5SASLMechanismHandler
- Specified by:
getJavaClass
in interfaceSaslMechanismHandlerCfgClient
- 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 SASL mechanism handler implementation.
- Specified by:
setJavaClass
in interfaceSaslMechanismHandlerCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-