Interface PlainSaslMechanismHandlerCfgClient
- All Superinterfaces:
ConfigurationClient
,SaslMechanismHandlerCfgClient
The Plain SASL Mechanism Handler performs all processing related to SASL PLAIN authentication.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends PlainSaslMechanismHandlerCfgClient,
? extends PlainSaslMechanismHandlerCfg> Get the configuration definition associated with this Plain 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 PlainSaslMechanismHandlerCfgClient,? extends PlainSaslMechanismHandlerCfg> definition()Get the configuration definition associated with this Plain SASL Mechanism Handler.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceSaslMechanismHandlerCfgClient
- Returns:
- Returns the configuration definition associated with this Plain SASL Mechanism Handler.
-
getIdentityMapper
Gets the "identity-mapper" property.Specifies the name(s) of the identity mapper(s) that is to be used with this SASL mechanism handler to match the authentication or authorization 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) that is to be used with this SASL mechanism handler to match the authentication or authorization 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.PlainSASLMechanismHandler
- 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.
-