Interface PlainSaslMechanismHandlerCfg
- All Superinterfaces:
Configuration,SaslMechanismHandlerCfg
A server-side interface for querying Plain SASL Mechanism Handler
settings.
The Plain SASL Mechanism Handler performs all processing related to SASL PLAIN authentication.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this Plain SASL Mechanism Handler is changed.Class<? extends PlainSaslMechanismHandlerCfg>Gets the configuration class associated with this Plain SASL Mechanism Handler.Gets the "identity-mapper" property.Gets the "identity-mapper" property as a set of DNs.Gets the "java-class" property.voidDeregister an existing Plain SASL Mechanism Handler configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, nameMethods inherited from interface org.forgerock.opendj.server.config.server.SaslMechanismHandlerCfg
addChangeListener, isEnabled, removeChangeListener
-
Method Details
-
configurationClass
Class<? extends PlainSaslMechanismHandlerCfg> configurationClass()Gets the configuration class associated with this Plain SASL Mechanism Handler.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceSaslMechanismHandlerCfg- Returns:
- Returns the configuration class associated with this Plain SASL Mechanism Handler.
-
addPlainChangeListener
Register to be notified when this Plain SASL Mechanism Handler is changed.- Parameters:
listener- The Plain SASL Mechanism Handler configuration change listener.
-
removePlainChangeListener
Deregister an existing Plain SASL Mechanism Handler configuration change listener.- Parameters:
listener- The Plain SASL Mechanism Handler configuration change listener.
-
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 an unmodifiable set containing the values of the "identity-mapper" property.
-
getIdentityMapperDns
Gets the "identity-mapper" property as a set of DNs.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 DN values of the "identity-mapper" property.
-
getJavaClass
String 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:
getJavaClassin interfaceSaslMechanismHandlerCfg- Returns:
- Returns the value of the "java-class" property.
-