public interface ConnectionHandlerCfg extends Configuration
Connection Handlers are responsible for handling all interaction with the clients, including accepting the connections, reading requests, and sending responses.
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
Register to be notified when this Connection Handler is changed.
|
Class<? extends ConnectionHandlerCfg> |
configurationClass()
Gets the configuration class associated with this Connection Handler.
|
SortedSet<AddressMask> |
getAllowedClient()
Gets the "allowed-client" property.
|
SortedSet<AddressMask> |
getDeniedClient()
Gets the "denied-client" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
boolean |
isEnabled()
Gets the "enabled" property.
|
void |
removeChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
Deregister an existing Connection Handler configuration change listener.
|
dn, name
Class<? extends ConnectionHandlerCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
listener
- The Connection Handler configuration change listener.void removeChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
listener
- The Connection Handler configuration change listener.SortedSet<AddressMask> getAllowedClient()
Specifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
Valid values include a host name, a fully qualified domain name, a domain name, an IP address, or a subnetwork with subnetwork mask.
SortedSet<AddressMask> getDeniedClient()
Specifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
Valid values include a host name, a fully qualified domain name, a domain name, an IP address, or a subnetwork with subnetwork mask. If both allowed and denied client masks are defined and a client connection matches one or more masks in both lists, then the connection is denied. If only a denied list is specified, then any client not matching a mask in that list is allowed.
boolean isEnabled()
Indicates whether the Connection Handler is enabled.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Connection Handler implementation.
Copyright 2010-2018 ForgeRock AS.