public interface StaticServiceDiscoveryMechanismCfg extends ServiceDiscoveryMechanismCfg
A Static Service Discovery Mechanism returns a fixed list of LDAP directory servers.
Modifier and Type | Method and Description |
---|---|
void |
addStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
Register to be notified when this Static Service Discovery Mechanism is changed.
|
Class<? extends StaticServiceDiscoveryMechanismCfg> |
configurationClass()
Gets the configuration class associated with this Static Service Discovery Mechanism.
|
long |
getDiscoveryInterval()
Gets the "discovery-interval" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getKeyManagerProvider()
Gets the "key-manager-provider" property.
|
Dn |
getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.
|
SortedSet<String> |
getPrimaryServer()
Gets the "primary-server" property.
|
SortedSet<String> |
getSecondaryServer()
Gets the "secondary-server" property.
|
SortedSet<String> |
getSslCertNickname()
Gets the "ssl-cert-nickname" property.
|
String |
getTrustManagerProvider()
Gets the "trust-manager-provider" property.
|
Dn |
getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.
|
boolean |
isUseSsl()
Gets the "use-ssl" property.
|
boolean |
isUseStartTls()
Gets the "use-start-tls" property.
|
void |
removeStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
Deregister an existing Static Service Discovery Mechanism configuration change listener.
|
addChangeListener, removeChangeListener
dn, name
Class<? extends StaticServiceDiscoveryMechanismCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface ServiceDiscoveryMechanismCfg
void addStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
listener
- The Static Service Discovery Mechanism configuration change listener.void removeStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
listener
- The Static Service Discovery Mechanism configuration change listener.long getDiscoveryInterval()
Interval between two server configuration discovery executions.
Specifies how frequently to read the configuration of the servers in order to discover their new information.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Static Service Discovery Mechanism implementation.
getJavaClass
in interface ServiceDiscoveryMechanismCfg
String getKeyManagerProvider()
Specifies the name of the key manager that should be used with this Static Service Discovery Mechanism.
Dn getKeyManagerProviderDn()
Specifies the name of the key manager that should be used with this Static Service Discovery Mechanism.
SortedSet<String> getPrimaryServer()
Specifies a list of servers that will be used in preference to secondary servers when available.
SortedSet<String> getSecondaryServer()
Specifies a list of servers that will be used in place of primary servers when all primary servers are unavailable.
SortedSet<String> getSslCertNickname()
Specifies the nicknames (also called the aliases) of the keys or key pairs that the Static Service Discovery Mechanism should use when performing SSL communication. The property can be used multiple times (referencing different nicknames) when server certificates with different public key algorithms are used in parallel (for example, RSA, DSA, and ECC-based algorithms). When a nickname refers to an asymmetric (public/private) key pair, the nickname for the public key certificate and associated private key entry must match exactly. A single nickname is used to retrieve both the public key and the private key.
This is only applicable when the Static Service Discovery Mechanism is configured to use SSL.
String getTrustManagerProvider()
Specifies the name of the trust manager that should be used with the Static Service Discovery Mechanism.
Dn getTrustManagerProviderDn()
Specifies the name of the trust manager that should be used with the Static Service Discovery Mechanism.
boolean isUseSsl()
Indicates whether the Static Service Discovery Mechanism should use SSL.
If enabled, the Static Service Discovery Mechanism will use SSL to encrypt communication with the clients.
boolean isUseStartTls()
Indicates whether the Static Service Discovery Mechanism should use Start TLS.
If enabled, the Static Service Discovery Mechanism will use Start TLS to encrypt communication with remote servers.
Copyright 2010-2018 ForgeRock AS.