Interface HttpAuthorizationMechanismCfg
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
HdapAuthorizationMechanismCfg,HttpAnonymousAuthorizationMechanismCfg,HttpBasicAuthorizationMechanismCfg,HttpOauth2AuthorizationMechanismCfg,HttpOauth2CtsAuthorizationMechanismCfg,HttpOauth2FileAuthorizationMechanismCfg,HttpOauth2OpenamAuthorizationMechanismCfg,HttpOauth2TokenIntrospectionAuthorizationMechanismCfg
A server-side interface for querying HTTP Authorization Mechanism
settings.
The HTTP Authorization Mechanism is used to define HTTP authorization mechanism.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this HTTP Authorization Mechanism is changed.Class<? extends HttpAuthorizationMechanismCfg>Gets the configuration class associated with this HTTP Authorization Mechanism.Gets the "java-class" property.booleanGets the "enabled" property.voidDeregister an existing HTTP Authorization Mechanism configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
configurationClass
Class<? extends HttpAuthorizationMechanismCfg> configurationClass()Gets the configuration class associated with this HTTP Authorization Mechanism.- Specified by:
configurationClassin interfaceConfiguration- Returns:
- Returns the configuration class associated with this HTTP Authorization Mechanism.
-
addChangeListener
Register to be notified when this HTTP Authorization Mechanism is changed.- Parameters:
listener- The HTTP Authorization Mechanism configuration change listener.
-
removeChangeListener
Deregister an existing HTTP Authorization Mechanism configuration change listener.- Parameters:
listener- The HTTP Authorization Mechanism configuration change listener.
-
isEnabled
boolean isEnabled()Gets the "enabled" property.Indicates whether the HTTP Authorization Mechanism is enabled.
- Returns:
- Returns the value of the "enabled" property.
-
getJavaClass
String getJavaClass()Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the HTTP Authorization Mechanism implementation.
- Returns:
- Returns the value of the "java-class" property.
-