Class HttpBasicAuthorizationMechanismCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<HttpBasicAuthorizationMechanismCfgClient,HttpBasicAuthorizationMechanismCfg>
-
- org.forgerock.opendj.server.config.meta.HttpBasicAuthorizationMechanismCfgDefn
-
public final class HttpBasicAuthorizationMechanismCfgDefn extends ManagedObjectDefinition<HttpBasicAuthorizationMechanismCfgClient,HttpBasicAuthorizationMechanismCfg>
An interface for querying the HTTP Basic Authorization Mechanism managed object definition meta information.The HTTP Basic Authorization Mechanism authenticates the end-user using credentials extracted from the HTTP Basic 'Authorization' header.
-
-
Method Summary
-
Methods inherited from class org.forgerock.opendj.config.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
-
-
-
-
Method Detail
-
getInstance
public static HttpBasicAuthorizationMechanismCfgDefn getInstance()
Get the HTTP Basic Authorization Mechanism configuration definition singleton.- Returns:
- Returns the HTTP Basic Authorization Mechanism configuration definition singleton.
-
createClientConfiguration
public HttpBasicAuthorizationMechanismCfgClient createClientConfiguration(ManagedObject<? extends HttpBasicAuthorizationMechanismCfgClient> 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<HttpBasicAuthorizationMechanismCfgClient,HttpBasicAuthorizationMechanismCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public HttpBasicAuthorizationMechanismCfg createServerConfiguration(ServerManagedObject<? extends HttpBasicAuthorizationMechanismCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<HttpBasicAuthorizationMechanismCfgClient,HttpBasicAuthorizationMechanismCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<HttpBasicAuthorizationMechanismCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<HttpBasicAuthorizationMechanismCfgClient,HttpBasicAuthorizationMechanismCfg>
- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getAltAuthenticationEnabledPropertyDefinition
public BooleanPropertyDefinition getAltAuthenticationEnabledPropertyDefinition()
Get the "alt-authentication-enabled" property definition.Specifies whether user credentials may be provided using alternative headers to the standard 'Authorize' header.
- Returns:
- Returns the "alt-authentication-enabled" property definition.
-
getAltPasswordHeaderPropertyDefinition
public StringPropertyDefinition getAltPasswordHeaderPropertyDefinition()
Get the "alt-password-header" property definition.Alternate HTTP headers to get the user's password from.
- Returns:
- Returns the "alt-password-header" property definition.
-
getAltUsernameHeaderPropertyDefinition
public StringPropertyDefinition getAltUsernameHeaderPropertyDefinition()
Get the "alt-username-header" property definition.Alternate HTTP headers to get the user's name from.
- Returns:
- Returns the "alt-username-header" property definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicates whether the HTTP Basic Authorization Mechanism is enabled.
- 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(s) used to get the user's entry corresponding to the user-id provided in the HTTP authentication header.
- 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 HTTP Basic Authorization Mechanism implementation.
- Returns:
- Returns the "java-class" property definition.
-
-