Interface HttpAnonymousAuthorizationMechanismCfgClient
- All Superinterfaces:
ConfigurationClient,HttpAuthorizationMechanismCfgClient
public interface HttpAnonymousAuthorizationMechanismCfgClient
extends HttpAuthorizationMechanismCfgClient
A client-side interface for reading and modifying HTTP Anonymous
Authorization Mechanism settings.
The HTTP Anonymous Authorization Mechanism is used to define static authorization.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends HttpAnonymousAuthorizationMechanismCfgClient,? extends HttpAnonymousAuthorizationMechanismCfg> Get the configuration definition associated with this HTTP Anonymous Authorization Mechanism.Gets the "java-class" property.Gets the "user-dn" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidsetUserDn(ValueOrExpression<Dn> value) Sets the "user-dn" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, propertiesMethods inherited from interface org.forgerock.opendj.server.config.client.HttpAuthorizationMechanismCfgClient
isEnabled, setEnabled
-
Method Details
-
definition
ManagedObjectDefinition<? extends HttpAnonymousAuthorizationMechanismCfgClient,? extends HttpAnonymousAuthorizationMechanismCfg> definition()Get the configuration definition associated with this HTTP Anonymous Authorization Mechanism.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceHttpAuthorizationMechanismCfgClient- Returns:
- Returns the configuration definition associated with this HTTP Anonymous Authorization Mechanism.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the HTTP Anonymous Authorization Mechanism implementation.
Default value:
org.opends.server.protocols.http.authz.HttpAnonymousAuthorizationMechanism- Specified by:
getJavaClassin interfaceHttpAuthorizationMechanismCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the HTTP Anonymous Authorization Mechanism implementation.
- Specified by:
setJavaClassin interfaceHttpAuthorizationMechanismCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getUserDn
ValueOrExpression<Dn> getUserDn()Gets the "user-dn" property.The authorization DN which will be used for performing anonymous operations.
- Returns:
- Returns the value of the "user-dn" property.
-
setUserDn
Sets the "user-dn" property.The authorization DN which will be used for performing anonymous operations.
- Parameters:
value- The value of the "user-dn" property.- Throws:
PropertyException- If the new value is invalid.
-