Interface ExternalSaslMechanismHandlerCfg
- All Superinterfaces:
Configuration,SaslMechanismHandlerCfg
The External SASL Mechanism Handler performs all processing related to SASL EXTERNAL authentication.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this External SASL Mechanism Handler is changed.Class<? extends ExternalSaslMechanismHandlerCfg>Gets the configuration class associated with this External SASL Mechanism Handler.Gets the "certificate-attribute" property.Gets the "certificate-mapper" property.Gets the "certificate-mapper" property as a set of DNs.Gets the "certificate-validation-policy" property.Gets the "java-class" property.voidDeregister an existing External 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 ExternalSaslMechanismHandlerCfg> configurationClass()Gets the configuration class associated with this External SASL Mechanism Handler.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceSaslMechanismHandlerCfg- Returns:
- Returns the configuration class associated with this External SASL Mechanism Handler.
-
addExternalChangeListener
void addExternalChangeListener(ConfigurationChangeListener<ExternalSaslMechanismHandlerCfg> listener) Register to be notified when this External SASL Mechanism Handler is changed.- Parameters:
listener- The External SASL Mechanism Handler configuration change listener.
-
removeExternalChangeListener
void removeExternalChangeListener(ConfigurationChangeListener<ExternalSaslMechanismHandlerCfg> listener) Deregister an existing External SASL Mechanism Handler configuration change listener.- Parameters:
listener- The External SASL Mechanism Handler configuration change listener.
-
getCertificateAttribute
AttributeType getCertificateAttribute()Gets the "certificate-attribute" property.Specifies the name of the attribute to hold user certificates.
This property must specify the name of a valid attribute type defined in the server schema.
Default value:
userCertificate- Returns:
- Returns the value of the "certificate-attribute" property.
-
getCertificateMapper
Gets the "certificate-mapper" property.Specifies the name(s) of the certificate mapper(s) that should be used to match client certificates to user entries.
- Returns:
- Returns an unmodifiable set containing the values of the "certificate-mapper" property.
-
getCertificateMapperDns
Gets the "certificate-mapper" property as a set of DNs.Specifies the name(s) of the certificate mapper(s) that should be used to match client certificates to user entries.
- Returns:
- Returns the DN values of the "certificate-mapper" property.
-
getCertificateValidationPolicy
ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy getCertificateValidationPolicy()Gets the "certificate-validation-policy" property.Indicates whether to attempt to validate the peer certificate against a certificate held in the user's entry.
- Returns:
- Returns the value of the "certificate-validation-policy" 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.ExternalSASLMechanismHandler- Specified by:
getJavaClassin interfaceSaslMechanismHandlerCfg- Returns:
- Returns the value of the "java-class" property.
-