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

java.lang.Object
  extended by org.opends.server.admin.AbstractManagedObjectDefinition<C,S>
      extended by org.opends.server.admin.ManagedObjectDefinition<ExternalSASLMechanismHandlerCfgClient,ExternalSASLMechanismHandlerCfg>
          extended by org.opends.server.admin.std.meta.ExternalSASLMechanismHandlerCfgDefn

public final class ExternalSASLMechanismHandlerCfgDefn
extends ManagedObjectDefinition<ExternalSASLMechanismHandlerCfgClient,ExternalSASLMechanismHandlerCfg>

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

The External SASL Mechanism Handler performs all processing related to SASL EXTERNAL authentication.


Nested Class Summary
static class ExternalSASLMechanismHandlerCfgDefn.CertificateValidationPolicy
          Defines the set of permissable values for the "certificate-validation-policy" property.
 
Method Summary
 ExternalSASLMechanismHandlerCfgClient createClientConfiguration(ManagedObject<? extends ExternalSASLMechanismHandlerCfgClient> impl)
          Creates a client configuration view of the provided managed object.
 ExternalSASLMechanismHandlerCfg createServerConfiguration(ServerManagedObject<? extends ExternalSASLMechanismHandlerCfg> impl)
          Creates a server configuration view of the provided server managed object.
 AttributeTypePropertyDefinition getCertificateAttributePropertyDefinition()
          Get the "certificate-attribute" property definition.
 AggregationPropertyDefinition<CertificateMapperCfgClient,CertificateMapperCfg> getCertificateMapperPropertyDefinition()
          Get the "certificate-mapper" property definition.
 EnumPropertyDefinition<ExternalSASLMechanismHandlerCfgDefn.CertificateValidationPolicy> getCertificateValidationPolicyPropertyDefinition()
          Get the "certificate-validation-policy" property definition.
 BooleanPropertyDefinition getEnabledPropertyDefinition()
          Get the "enabled" property definition.
static ExternalSASLMechanismHandlerCfgDefn getInstance()
          Get the External SASL Mechanism Handler configuration definition singleton.
 ClassPropertyDefinition getJavaClassPropertyDefinition()
          Get the "java-class" property definition.
 java.lang.Class<ExternalSASLMechanismHandlerCfg> getServerConfigurationClass()
          Gets the server configuration class instance associated with this managed object 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 ExternalSASLMechanismHandlerCfgDefn getInstance()
Get the External SASL Mechanism Handler configuration definition singleton.

Returns:
Returns the External SASL Mechanism Handler configuration definition singleton.

createClientConfiguration

public ExternalSASLMechanismHandlerCfgClient createClientConfiguration(ManagedObject<? extends ExternalSASLMechanismHandlerCfgClient> 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<ExternalSASLMechanismHandlerCfgClient,ExternalSASLMechanismHandlerCfg>
Parameters:
impl - The managed object.
Returns:
Returns a client configuration view of the provided managed object.

createServerConfiguration

public ExternalSASLMechanismHandlerCfg createServerConfiguration(ServerManagedObject<? extends ExternalSASLMechanismHandlerCfg> impl)
Creates a server configuration view of the provided server managed object.

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

getServerConfigurationClass

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

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

getCertificateAttributePropertyDefinition

public AttributeTypePropertyDefinition getCertificateAttributePropertyDefinition()
Get the "certificate-attribute" property definition.

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.

Returns:
Returns the "certificate-attribute" property definition.

getCertificateMapperPropertyDefinition

public AggregationPropertyDefinition<CertificateMapperCfgClient,CertificateMapperCfg> getCertificateMapperPropertyDefinition()
Get the "certificate-mapper" property definition.

Specifies the name of the certificate mapper that should be used to match client certificates to user entries.

Returns:
Returns the "certificate-mapper" property definition.

getCertificateValidationPolicyPropertyDefinition

public EnumPropertyDefinition<ExternalSASLMechanismHandlerCfgDefn.CertificateValidationPolicy> getCertificateValidationPolicyPropertyDefinition()
Get the "certificate-validation-policy" property definition.

Indicates whether to attempt to validate the peer certificate against a certificate held in the user's entry.

Returns:
Returns the "certificate-validation-policy" property 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.

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.