org.opends.server.admin.std.meta
Class DigestMD5SASLMechanismHandlerCfgDefn

java.lang.Object
  extended by org.opends.server.admin.AbstractManagedObjectDefinition<C,S>
      extended by org.opends.server.admin.ManagedObjectDefinition<DigestMD5SASLMechanismHandlerCfgClient,DigestMD5SASLMechanismHandlerCfg>
          extended by org.opends.server.admin.std.meta.DigestMD5SASLMechanismHandlerCfgDefn

public final class DigestMD5SASLMechanismHandlerCfgDefn
extends ManagedObjectDefinition<DigestMD5SASLMechanismHandlerCfgClient,DigestMD5SASLMechanismHandlerCfg>

An interface for querying the Digest MD5 SASL Mechanism Handler managed object definition meta information.

The DIGEST-MD5 SASL mechanism is used to perform all processing related to SASL DIGEST-MD5 authentication.


Method Summary
 DigestMD5SASLMechanismHandlerCfgClient createClientConfiguration(ManagedObject<? extends DigestMD5SASLMechanismHandlerCfgClient> impl)
          Creates a client configuration view of the provided managed object.
 DigestMD5SASLMechanismHandlerCfg createServerConfiguration(ServerManagedObject<? extends DigestMD5SASLMechanismHandlerCfg> impl)
          Creates a server configuration view of the provided server managed object.
 BooleanPropertyDefinition getEnabledPropertyDefinition()
          Get the "enabled" property definition.
 AggregationPropertyDefinition<IdentityMapperCfgClient,IdentityMapperCfg> getIdentityMapperPropertyDefinition()
          Get the "identity-mapper" property definition.
static DigestMD5SASLMechanismHandlerCfgDefn getInstance()
          Get the Digest MD5 SASL Mechanism Handler configuration definition singleton.
 ClassPropertyDefinition getJavaClassPropertyDefinition()
          Get the "java-class" property definition.
 StringPropertyDefinition getRealmPropertyDefinition()
          Get the "realm" property definition.
 java.lang.Class<DigestMD5SASLMechanismHandlerCfg> getServerConfigurationClass()
          Gets the server configuration class instance associated with this managed object definition.
 StringPropertyDefinition getServerFqdnPropertyDefinition()
          Get the "server-fqdn" property definition.
 
Methods inherited from class org.opends.server.admin.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static DigestMD5SASLMechanismHandlerCfgDefn 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)
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 class ManagedObjectDefinition<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)
Creates a server configuration view of the provided server managed object.

Specified by:
createServerConfiguration in class ManagedObjectDefinition<DigestMD5SASLMechanismHandlerCfgClient,DigestMD5SASLMechanismHandlerCfg>
Parameters:
impl - The server managed object.
Returns:
Returns a server configuration view of the provided server managed object.

getServerConfigurationClass

public java.lang.Class<DigestMD5SASLMechanismHandlerCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.

Specified by:
getServerConfigurationClass in class ManagedObjectDefinition<DigestMD5SASLMechanismHandlerCfgClient,DigestMD5SASLMechanismHandlerCfg>
Returns:
Returns the server configuration class instance associated with this managed object definition.

getEnabledPropertyDefinition

public BooleanPropertyDefinition 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 of the identity mapper 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 "identity-mapper" property definition.

getJavaClassPropertyDefinition

public ClassPropertyDefinition 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.

getRealmPropertyDefinition

public StringPropertyDefinition getRealmPropertyDefinition()
Get the "realm" property definition.

Specifies the realm that is to be used by the server for DIGEST-MD5 authentication.

If this value is not provided, then the server defaults to use a set of realm names that correspond to the defined suffixes.

Returns:
Returns the "realm" property definition.

getServerFqdnPropertyDefinition

public StringPropertyDefinition 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.