Class DigestMd5SaslMechanismHandlerCfgDefn
The DIGEST-MD5 SASL mechanism is used to perform all processing related to SASL DIGEST-MD5 authentication.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines the set of permissible values for the "quality-of-protection" property. -
Method Summary
Modifier and TypeMethodDescriptioncreateClientConfiguration
(ManagedObject<? extends DigestMd5SaslMechanismHandlerCfgClient> impl) Creates a client configuration view of the provided managed object.createServerConfiguration
(ServerManagedObject<? extends DigestMd5SaslMechanismHandlerCfg> impl) Creates a server configuration view of the provided server managed object.Get the "enabled" property definition.Get the "identity-mapper" property definition.Get the DIGEST-MD5 SASL Mechanism Handler configuration definition singleton.Get the "java-class" property definition.Get the "quality-of-protection" property definition.Get the "realm" property definition.Gets the server configuration class instance associated with this managed object definition.Get the "server-fqdn" property definition.Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
Method Details
-
getInstance
Get the DIGEST-MD5 SASL Mechanism Handler configuration definition singleton.- Returns:
- Returns the DIGEST-MD5 SASL Mechanism Handler configuration definition singleton.
-
createClientConfiguration
public DigestMd5SaslMechanismHandlerCfgClient createClientConfiguration(ManagedObject<? extends DigestMd5SaslMechanismHandlerCfgClient> impl) Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<DigestMd5SaslMechanismHandlerCfgClient,
DigestMd5SaslMechanismHandlerCfg> - Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public DigestMd5SaslMechanismHandlerCfg createServerConfiguration(ServerManagedObject<? extends DigestMd5SaslMechanismHandlerCfg> impl) Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<DigestMd5SaslMechanismHandlerCfgClient,
DigestMd5SaslMechanismHandlerCfg> - Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<DigestMd5SaslMechanismHandlerCfgClient,
DigestMd5SaslMechanismHandlerCfg> - Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getEnabledPropertyDefinition
Get the "enabled" property definition.Indicates whether the SASL mechanism handler is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getIdentityMapperPropertyDefinition
public AggregationPropertyDefinition<IdentityMapperCfgClient,IdentityMapperCfg> getIdentityMapperPropertyDefinition()Get the "identity-mapper" property definition.Specifies the name(s) of the identity mappers that are 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 "identity-mapper" property definition.
-
getJavaClassPropertyDefinition
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the SASL mechanism handler implementation.
- Returns:
- Returns the "java-class" property definition.
-
getQualityOfProtectionPropertyDefinition
public EnumPropertyDefinition<DigestMd5SaslMechanismHandlerCfgDefn.QualityOfProtection> getQualityOfProtectionPropertyDefinition()Get the "quality-of-protection" property definition.The name of a property that specifies the quality of protection the server will support.
- Returns:
- Returns the "quality-of-protection" property definition.
-
getRealmPropertyDefinition
Get the "realm" property definition.Specifies the realms that is to be used by the server for DIGEST-MD5 authentication.
If this value is not provided, then the server defaults to use the fully qualified hostname of the machine.
- Returns:
- Returns the "realm" property definition.
-
getServerFqdnPropertyDefinition
Get the "server-fqdn" property definition.Specifies the DNS-resolvable fully-qualified domain name for the server that is used when validating the digest-uri parameter during the authentication process.
If this configuration attribute is present, then the server expects that clients use a digest-uri equal to "ldap/" followed by the value of this attribute. For example, if the attribute has a value of "directory.example.com", then the server expects clients to use a digest-uri of "ldap/directory.example.com". If no value is provided, then the server does not attempt to validate the digest-uri provided by the client and accepts any value.
- Returns:
- Returns the "server-fqdn" property definition.
-