public interface LDAPPassThroughAuthenticationPolicyCfgClient extends AuthenticationPolicyCfgClient
An authentication policy for users whose credentials are managed by a remote LDAP directory service.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends LDAPPassThroughAuthenticationPolicyCfgClient,? extends LDAPPassThroughAuthenticationPolicyCfg> |
definition()
Get the configuration definition associated with this LDAP Pass Through Authentication Policy.
|
String |
getCachedPasswordStorageScheme()
Gets the "cached-password-storage-scheme" property.
|
long |
getCachedPasswordTTL()
Gets the "cached-password-ttl" property.
|
long |
getConnectionTimeout()
Gets the "connection-timeout" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
SortedSet<AttributeType> |
getMappedAttribute()
Gets the "mapped-attribute" property.
|
SortedSet<DN> |
getMappedSearchBaseDN()
Gets the "mapped-search-base-dn" property.
|
DN |
getMappedSearchBindDN()
Gets the "mapped-search-bind-dn" property.
|
String |
getMappedSearchBindPassword()
Gets the "mapped-search-bind-password" property.
|
String |
getMappedSearchBindPasswordEnvironmentVariable()
Gets the "mapped-search-bind-password-environment-variable" property.
|
String |
getMappedSearchBindPasswordFile()
Gets the "mapped-search-bind-password-file" property.
|
String |
getMappedSearchBindPasswordProperty()
Gets the "mapped-search-bind-password-property" property.
|
LDAPPassThroughAuthenticationPolicyCfgDefn.MappingPolicy |
getMappingPolicy()
Gets the "mapping-policy" property.
|
SortedSet<String> |
getPrimaryRemoteLDAPServer()
Gets the "primary-remote-ldap-server" property.
|
SortedSet<String> |
getSecondaryRemoteLDAPServer()
Gets the "secondary-remote-ldap-server" property.
|
InetAddress |
getSourceAddress()
Gets the "source-address" property.
|
SortedSet<String> |
getSSLCipherSuite()
Gets the "ssl-cipher-suite" property.
|
SortedSet<String> |
getSSLProtocol()
Gets the "ssl-protocol" property.
|
String |
getTrustManagerProvider()
Gets the "trust-manager-provider" property.
|
boolean |
isUsePasswordCaching()
Gets the "use-password-caching" property.
|
boolean |
isUseSSL()
Gets the "use-ssl" property.
|
boolean |
isUseTCPKeepAlive()
Gets the "use-tcp-keep-alive" property.
|
boolean |
isUseTCPNoDelay()
Gets the "use-tcp-no-delay" property.
|
void |
setCachedPasswordStorageScheme(String value)
Sets the "cached-password-storage-scheme" property.
|
void |
setCachedPasswordTTL(Long value)
Sets the "cached-password-ttl" property.
|
void |
setConnectionTimeout(Long value)
Sets the "connection-timeout" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setMappedAttribute(Collection<AttributeType> values)
Sets the "mapped-attribute" property.
|
void |
setMappedSearchBaseDN(Collection<DN> values)
Sets the "mapped-search-base-dn" property.
|
void |
setMappedSearchBindDN(DN value)
Sets the "mapped-search-bind-dn" property.
|
void |
setMappedSearchBindPassword(String value)
Sets the "mapped-search-bind-password" property.
|
void |
setMappedSearchBindPasswordEnvironmentVariable(String value)
Sets the "mapped-search-bind-password-environment-variable" property.
|
void |
setMappedSearchBindPasswordFile(String value)
Sets the "mapped-search-bind-password-file" property.
|
void |
setMappedSearchBindPasswordProperty(String value)
Sets the "mapped-search-bind-password-property" property.
|
void |
setMappingPolicy(LDAPPassThroughAuthenticationPolicyCfgDefn.MappingPolicy value)
Sets the "mapping-policy" property.
|
void |
setPrimaryRemoteLDAPServer(Collection<String> values)
Sets the "primary-remote-ldap-server" property.
|
void |
setSecondaryRemoteLDAPServer(Collection<String> values)
Sets the "secondary-remote-ldap-server" property.
|
void |
setSourceAddress(InetAddress value)
Sets the "source-address" property.
|
void |
setSSLCipherSuite(Collection<String> values)
Sets the "ssl-cipher-suite" property.
|
void |
setSSLProtocol(Collection<String> values)
Sets the "ssl-protocol" property.
|
void |
setTrustManagerProvider(String value)
Sets the "trust-manager-provider" property.
|
void |
setUsePasswordCaching(boolean value)
Sets the "use-password-caching" property.
|
void |
setUseSSL(Boolean value)
Sets the "use-ssl" property.
|
void |
setUseTCPKeepAlive(Boolean value)
Sets the "use-tcp-keep-alive" property.
|
void |
setUseTCPNoDelay(Boolean value)
Sets the "use-tcp-no-delay" property.
|
commit, properties
ManagedObjectDefinition<? extends LDAPPassThroughAuthenticationPolicyCfgClient,? extends LDAPPassThroughAuthenticationPolicyCfg> definition()
definition
in interface AuthenticationPolicyCfgClient
definition
in interface ConfigurationClient
String getCachedPasswordStorageScheme()
Specifies the name of a password storage scheme which should be used for encoding cached passwords.
Changing the password storage scheme will cause all existing cached passwords to be discarded.
void setCachedPasswordStorageScheme(String value) throws PropertyException
Specifies the name of a password storage scheme which should be used for encoding cached passwords.
Changing the password storage scheme will cause all existing cached passwords to be discarded.
value
- The value of the "cached-password-storage-scheme" property.PropertyException
- If the new value is invalid.long getCachedPasswordTTL()
Specifies the maximum length of time that a locally cached password may be used for authentication before it is refreshed from the remote LDAP service.
This property represents a cache timeout. Increasing the timeout period decreases the frequency that bind operations are delegated to the remote LDAP service, but increases the risk of users authenticating using stale passwords. Note that authentication attempts which fail because the provided password does not match the locally cached password will always be retried against the remote LDAP service.
void setCachedPasswordTTL(Long value) throws PropertyException
Specifies the maximum length of time that a locally cached password may be used for authentication before it is refreshed from the remote LDAP service.
This property represents a cache timeout. Increasing the timeout period decreases the frequency that bind operations are delegated to the remote LDAP service, but increases the risk of users authenticating using stale passwords. Note that authentication attempts which fail because the provided password does not match the locally cached password will always be retried against the remote LDAP service.
value
- The value of the "cached-password-ttl" property.PropertyException
- If the new value is invalid.long getConnectionTimeout()
Specifies the timeout used when connecting to remote LDAP directory servers, performing SSL negotiation, and for individual search and bind requests.
If the timeout expires then the current operation will be aborted and retried against another LDAP server if one is available.
void setConnectionTimeout(Long value) throws PropertyException
Specifies the timeout used when connecting to remote LDAP directory servers, performing SSL negotiation, and for individual search and bind requests.
If the timeout expires then the current operation will be aborted and retried against another LDAP server if one is available.
value
- The value of the "connection-timeout" property.PropertyException
- If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class which provides the LDAP Pass Through Authentication Policy implementation.
getJavaClass
in interface AuthenticationPolicyCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class which provides the LDAP Pass Through Authentication Policy implementation.
setJavaClass
in interface AuthenticationPolicyCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.SortedSet<AttributeType> getMappedAttribute()
Specifies one or more attributes in the user's entry whose value(s) will determine the bind DN used when authenticating to the remote LDAP directory service. This property is mandatory when using the "mapped-bind" or "mapped-search" mapping policies.
At least one value must be provided. All values must refer to the name or OID of an attribute type defined in the directory server schema. At least one of the named attributes must exist in a user's local entry in order for authentication to proceed. When multiple attributes or values are found in the user's entry then the behavior is determined by the mapping policy.
void setMappedAttribute(Collection<AttributeType> values) throws PropertyException
Specifies one or more attributes in the user's entry whose value(s) will determine the bind DN used when authenticating to the remote LDAP directory service. This property is mandatory when using the "mapped-bind" or "mapped-search" mapping policies.
At least one value must be provided. All values must refer to the name or OID of an attribute type defined in the directory server schema. At least one of the named attributes must exist in a user's local entry in order for authentication to proceed. When multiple attributes or values are found in the user's entry then the behavior is determined by the mapping policy.
values
- The values of the "mapped-attribute" property.PropertyException
- If one or more of the new values are invalid.SortedSet<DN> getMappedSearchBaseDN()
Specifies the set of base DNs below which to search for users in the remote LDAP directory service. This property is mandatory when using the "mapped-search" mapping policy.
If multiple values are given, searches are performed below all specified base DNs.
void setMappedSearchBaseDN(Collection<DN> values) throws PropertyException
Specifies the set of base DNs below which to search for users in the remote LDAP directory service. This property is mandatory when using the "mapped-search" mapping policy.
If multiple values are given, searches are performed below all specified base DNs.
values
- The values of the "mapped-search-base-dn" property.PropertyException
- If one or more of the new values are invalid.DN getMappedSearchBindDN()
Specifies the bind DN which should be used to perform user searches in the remote LDAP directory service.
void setMappedSearchBindDN(DN value) throws PropertyException
Specifies the bind DN which should be used to perform user searches in the remote LDAP directory service.
value
- The value of the "mapped-search-bind-dn" property.PropertyException
- If the new value is invalid.String getMappedSearchBindPassword()
Specifies the bind password which should be used to perform user searches in the remote LDAP directory service.
void setMappedSearchBindPassword(String value) throws PropertyException
Specifies the bind password which should be used to perform user searches in the remote LDAP directory service.
value
- The value of the "mapped-search-bind-password" property.PropertyException
- If the new value is invalid.String getMappedSearchBindPasswordEnvironmentVariable()
Specifies the name of an environment variable containing the bind password which should be used to perform user searches in the remote LDAP directory service.
void setMappedSearchBindPasswordEnvironmentVariable(String value) throws PropertyException
Specifies the name of an environment variable containing the bind password which should be used to perform user searches in the remote LDAP directory service.
value
- The value of the "mapped-search-bind-password-environment-variable" property.PropertyException
- If the new value is invalid.String getMappedSearchBindPasswordFile()
Specifies the name of a file containing the bind password which should be used to perform user searches in the remote LDAP directory service.
void setMappedSearchBindPasswordFile(String value) throws PropertyException
Specifies the name of a file containing the bind password which should be used to perform user searches in the remote LDAP directory service.
value
- The value of the "mapped-search-bind-password-file" property.PropertyException
- If the new value is invalid.String getMappedSearchBindPasswordProperty()
Specifies the name of a Java property containing the bind password which should be used to perform user searches in the remote LDAP directory service.
void setMappedSearchBindPasswordProperty(String value) throws PropertyException
Specifies the name of a Java property containing the bind password which should be used to perform user searches in the remote LDAP directory service.
value
- The value of the "mapped-search-bind-password-property" property.PropertyException
- If the new value is invalid.LDAPPassThroughAuthenticationPolicyCfgDefn.MappingPolicy getMappingPolicy()
Specifies the mapping algorithm for obtaining the bind DN from the user's entry.
void setMappingPolicy(LDAPPassThroughAuthenticationPolicyCfgDefn.MappingPolicy value) throws PropertyException
Specifies the mapping algorithm for obtaining the bind DN from the user's entry.
value
- The value of the "mapping-policy" property.PropertyException
- If the new value is invalid.SortedSet<String> getPrimaryRemoteLDAPServer()
Specifies the primary list of remote LDAP servers which should be used for pass through authentication.
If more than one LDAP server is specified then operations may be distributed across them. If all of the primary LDAP servers are unavailable then operations will fail-over to the set of secondary LDAP servers, if defined.
void setPrimaryRemoteLDAPServer(Collection<String> values) throws PropertyException
Specifies the primary list of remote LDAP servers which should be used for pass through authentication.
If more than one LDAP server is specified then operations may be distributed across them. If all of the primary LDAP servers are unavailable then operations will fail-over to the set of secondary LDAP servers, if defined.
values
- The values of the "primary-remote-ldap-server" property.PropertyException
- If one or more of the new values are invalid.SortedSet<String> getSecondaryRemoteLDAPServer()
Specifies the secondary list of remote LDAP servers which should be used for pass through authentication in the event that the primary LDAP servers are unavailable.
If more than one LDAP server is specified then operations may be distributed across them. Operations will be rerouted to the primary LDAP servers as soon as they are determined to be available.
void setSecondaryRemoteLDAPServer(Collection<String> values) throws PropertyException
Specifies the secondary list of remote LDAP servers which should be used for pass through authentication in the event that the primary LDAP servers are unavailable.
If more than one LDAP server is specified then operations may be distributed across them. Operations will be rerouted to the primary LDAP servers as soon as they are determined to be available.
values
- The values of the "secondary-remote-ldap-server" property.PropertyException
- If one or more of the new values are invalid.InetAddress getSourceAddress()
If specified, the server will bind to the address before connecting to the remote server.
The address must be one assigned to an existing network interface.
void setSourceAddress(InetAddress value) throws PropertyException
If specified, the server will bind to the address before connecting to the remote server.
The address must be one assigned to an existing network interface.
value
- The value of the "source-address" property.PropertyException
- If the new value is invalid.SortedSet<String> getSSLCipherSuite()
Specifies the names of the SSL cipher suites that are allowed for use in SSL based LDAP connections.
void setSSLCipherSuite(Collection<String> values) throws PropertyException
Specifies the names of the SSL cipher suites that are allowed for use in SSL based LDAP connections.
values
- The values of the "ssl-cipher-suite" property.PropertyException
- If one or more of the new values are invalid.SortedSet<String> getSSLProtocol()
Specifies the names of the SSL protocols which are allowed for use in SSL based LDAP connections.
void setSSLProtocol(Collection<String> values) throws PropertyException
Specifies the names of the SSL protocols which are allowed for use in SSL based LDAP connections.
values
- The values of the "ssl-protocol" property.PropertyException
- If one or more of the new values are invalid.String getTrustManagerProvider()
Specifies the name of the trust manager that should be used when negotiating SSL connections with remote LDAP directory servers.
void setTrustManagerProvider(String value) throws PropertyException
Specifies the name of the trust manager that should be used when negotiating SSL connections with remote LDAP directory servers.
value
- The value of the "trust-manager-provider" property.PropertyException
- If the new value is invalid.boolean isUsePasswordCaching()
Indicates whether passwords should be cached locally within the user's entry.
void setUsePasswordCaching(boolean value) throws PropertyException
Indicates whether passwords should be cached locally within the user's entry.
value
- The value of the "use-password-caching" property.PropertyException
- If the new value is invalid.boolean isUseSSL()
Indicates whether the LDAP Pass Through Authentication Policy should use SSL.
If enabled, the LDAP Pass Through Authentication Policy will use SSL to encrypt communication with the clients.
void setUseSSL(Boolean value) throws PropertyException
Indicates whether the LDAP Pass Through Authentication Policy should use SSL.
If enabled, the LDAP Pass Through Authentication Policy will use SSL to encrypt communication with the clients.
value
- The value of the "use-ssl" property.PropertyException
- If the new value is invalid.boolean isUseTCPKeepAlive()
Indicates whether LDAP connections should use TCP keep-alive.
If enabled, the SO_KEEPALIVE socket option is used to indicate that TCP keepalive messages should periodically be sent to the client to verify that the associated connection is still valid. This may also help prevent cases in which intermediate network hardware could silently drop an otherwise idle client connection, provided that the keepalive interval configured in the underlying operating system is smaller than the timeout enforced by the network hardware.
void setUseTCPKeepAlive(Boolean value) throws PropertyException
Indicates whether LDAP connections should use TCP keep-alive.
If enabled, the SO_KEEPALIVE socket option is used to indicate that TCP keepalive messages should periodically be sent to the client to verify that the associated connection is still valid. This may also help prevent cases in which intermediate network hardware could silently drop an otherwise idle client connection, provided that the keepalive interval configured in the underlying operating system is smaller than the timeout enforced by the network hardware.
value
- The value of the "use-tcp-keep-alive" property.PropertyException
- If the new value is invalid.boolean isUseTCPNoDelay()
Indicates whether LDAP connections should use TCP no-delay.
If enabled, the TCP_NODELAY socket option is used to ensure that response messages to the client are sent immediately rather than potentially waiting to determine whether additional response messages can be sent in the same packet. In most cases, using the TCP_NODELAY socket option provides better performance and lower response times, but disabling it may help for some cases in which the server sends a large number of entries to a client in response to a search request.
void setUseTCPNoDelay(Boolean value) throws PropertyException
Indicates whether LDAP connections should use TCP no-delay.
If enabled, the TCP_NODELAY socket option is used to ensure that response messages to the client are sent immediately rather than potentially waiting to determine whether additional response messages can be sent in the same packet. In most cases, using the TCP_NODELAY socket option provides better performance and lower response times, but disabling it may help for some cases in which the server sends a large number of entries to a client in response to a search request.
value
- The value of the "use-tcp-no-delay" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.