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