Interface AccessControlHandlerCfg
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
DseeCompatAccessControlHandlerCfg
,PolicyBasedAccessControlHandlerCfg
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
Modifier and TypeMethodDescriptionvoid
Register to be notified when this Access Control Handler is changed.Class<? extends AccessControlHandlerCfg>
Gets the configuration class associated with this Access Control Handler.Gets the "java-class" property.boolean
Gets the "enabled" property.void
Deregister an existing Access Control Handler configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
configurationClass
Class<? extends AccessControlHandlerCfg> configurationClass()Gets the configuration class associated with this Access Control Handler.- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this Access Control Handler.
-
addChangeListener
Register to be notified when this Access Control Handler is changed.- Parameters:
listener
- The Access Control Handler configuration change listener.
-
removeChangeListener
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 any client (including unauthenticated or anonymous clients) is allowed to bind to the server and any connection with the "bypass-acl" privilege is allowed to perform any operation.
- 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.
-