Interface AccessControlHandlerCfg
-
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
DseeCompatAccessControlHandlerCfg
public interface AccessControlHandlerCfg extends Configuration
A server-side interface for querying Access Control Handler settings.Access Control Handlers manage the application-wide access control. The OpenDJ access control handler is defined through an extensible interface, so that alternate implementations can be created. Only one access control handler may be active in the server at any given time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChangeListener(ConfigurationChangeListener<AccessControlHandlerCfg> listener)Register to be notified when this Access Control Handler is changed.Class<? extends AccessControlHandlerCfg>configurationClass()Gets the configuration class associated with this Access Control Handler.StringgetJavaClass()Gets the "java-class" property.booleanisEnabled()Gets the "enabled" property.voidremoveChangeListener(ConfigurationChangeListener<AccessControlHandlerCfg> listener)Deregister an existing Access Control Handler configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends AccessControlHandlerCfg> configurationClass()
Gets the configuration class associated with this Access Control Handler.- Specified by:
configurationClassin interfaceConfiguration- Returns:
- Returns the configuration class associated with this Access Control Handler.
-
addChangeListener
void addChangeListener(ConfigurationChangeListener<AccessControlHandlerCfg> listener)
Register to be notified when this Access Control Handler is changed.- Parameters:
listener- The Access Control Handler configuration change listener.
-
removeChangeListener
void removeChangeListener(ConfigurationChangeListener<AccessControlHandlerCfg> listener)
Deregister an existing Access Control Handler configuration change listener.- Parameters:
listener- The Access Control Handler configuration change listener.
-
isEnabled
boolean isEnabled()
Gets the "enabled" property.Indicates whether the Access Control Handler is enabled. If set to FALSE, then no access control is enforced, and any client (including unauthenticated or anonymous clients) could be allowed to perform any operation if not subject to other restrictions, such as those enforced by the privilege subsystem.
- 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 Access Control Handler implementation.
- Returns:
- Returns the value of the "java-class" property.
-
-