Interface HttpAuthorizationMechanismCfg
-
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
HttpAnonymousAuthorizationMechanismCfg
,HttpBasicAuthorizationMechanismCfg
,HttpOauth2AuthorizationMechanismCfg
,HttpOauth2CtsAuthorizationMechanismCfg
,HttpOauth2FileAuthorizationMechanismCfg
,HttpOauth2OpenamAuthorizationMechanismCfg
,HttpOauth2TokenIntrospectionAuthorizationMechanismCfg
public interface HttpAuthorizationMechanismCfg extends Configuration
A server-side interface for querying HTTP Authorization Mechanism settings.The HTTP Authorization Mechanism is used to define HTTP authorization mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChangeListener(ConfigurationChangeListener<HttpAuthorizationMechanismCfg> listener)
Register to be notified when this HTTP Authorization Mechanism is changed.Class<? extends HttpAuthorizationMechanismCfg>
configurationClass()
Gets the configuration class associated with this HTTP Authorization Mechanism.String
getJavaClass()
Gets the "java-class" property.boolean
isEnabled()
Gets the "enabled" property.void
removeChangeListener(ConfigurationChangeListener<HttpAuthorizationMechanismCfg> listener)
Deregister an existing HTTP Authorization Mechanism configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends HttpAuthorizationMechanismCfg> configurationClass()
Gets the configuration class associated with this HTTP Authorization Mechanism.- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this HTTP Authorization Mechanism.
-
addChangeListener
void addChangeListener(ConfigurationChangeListener<HttpAuthorizationMechanismCfg> listener)
Register to be notified when this HTTP Authorization Mechanism is changed.- Parameters:
listener
- The HTTP Authorization Mechanism configuration change listener.
-
removeChangeListener
void removeChangeListener(ConfigurationChangeListener<HttpAuthorizationMechanismCfg> listener)
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.
-
-