Configuration Reference Home
OpenDJ - LDAP Pass Through Authentication Policy

LDAP Pass Through Authentication Policy

An authentication policy for users whose credentials are managed by a remote LDAP directory service.

Authentication attempts will be redirected to the remote LDAP directory service based on a combination of the criteria specified in this policy and the content of the user's entry in this directory server.

Parent Component

The LDAP Pass Through Authentication Policy component inherits from the Authentication Policy

Relations From this Component

The following components have a direct AGGREGATION relation FROM LDAP Pass Through Authentication Policies :

Properties

A description of each property follows.


Basic Properties: Advanced Properties:
↓ cached-password-storage-scheme ↓ java-class
↓ cached-password-ttl ↓ ssl-cipher-suite
↓ connection-timeout ↓ ssl-protocol
↓ mapped-attribute ↓ use-tcp-keep-alive
↓ mapped-search-base-dn ↓ use-tcp-no-delay
↓ mapped-search-bind-dn
↓ mapped-search-bind-password
↓ mapped-search-bind-password-environment-variable
↓ mapped-search-bind-password-file
↓ mapped-search-bind-password-property
↓ mapping-policy
↓ primary-remote-ldap-server
↓ secondary-remote-ldap-server
↓ source-address
↓ trust-manager-provider
↓ use-password-caching
↓ use-ssl

Basic Properties

cached-password-storage-scheme

Description
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.
Default Value
None
Allowed Values
The DN of any Password Storage Scheme. The referenced password storage schemes must be enabled.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

cached-password-ttl

Description
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.
Default Value
8 hours
Allowed Values
A duration Syntax. Lower limit is 0 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

connection-timeout

Description
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.
Default Value
3 seconds
Allowed Values
A duration Syntax. Lower limit is 0 milliseconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapped-attribute

Description
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.
Default Value
None
Allowed Values
The name of an attribute type defined in the server schema.
Multi-valued
Yes
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapped-search-base-dn

Description
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.
Default Value
None
Allowed Values
A valid DN.
Multi-valued
Yes
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapped-search-bind-dn

Description
Specifies the bind DN which should be used to perform user searches in the remote LDAP directory service.
Default Value
Searches will be performed anonymously.
Allowed Values
A valid DN.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapped-search-bind-password

Description
Specifies the bind password which should be used to perform user searches in the remote LDAP directory service.
Default Value
None
Allowed Values
A String
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapped-search-bind-password-environment-variable

Description
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.
Default Value
None
Allowed Values
A String
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapped-search-bind-password-file

Description
Specifies the name of a file containing the bind password which should be used to perform user searches in the remote LDAP directory service.
Default Value
None
Allowed Values
A String
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapped-search-bind-password-property

Description
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.
Default Value
None
Allowed Values
A String
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

mapping-policy

Description
Specifies the mapping algorithm for obtaining the bind DN from the user's entry.
Default Value
unmapped
Allowed Values
mapped-bind - Bind to the remote LDAP directory service using a DN obtained from an attribute in the user's entry. This policy will check each attribute named in the "mapped-attribute" property. If more than one attribute or value is present then the first one will be used.

mapped-search - Bind to the remote LDAP directory service using the DN of an entry obtained using a search against the remote LDAP directory service. The search filter will comprise of an equality matching filter whose attribute type is the "mapped-attribute" property, and whose assertion value is the attribute value obtained from the user's entry. If more than one attribute or value is present then the filter will be composed of multiple equality filters combined using a logical OR (union).

unmapped - Bind to the remote LDAP directory service using the DN of the user's entry in this directory server.


Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

primary-remote-ldap-server

Description
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.
Default Value
None
Allowed Values
A host name followed by a ":" and a port number.
Multi-valued
Yes
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

secondary-remote-ldap-server

Description
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.
Default Value
No secondary LDAP servers.
Allowed Values
A host name followed by a ":" and a port number.
Multi-valued
Yes
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

source-address

Description
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.
Default Value
Let the server decide.
Allowed Values
An IP address
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

trust-manager-provider

Description
Specifies the name of the trust manager that should be used when negotiating SSL connections with remote LDAP directory servers.
Default Value
By default, no trust manager is specified indicating that only certificates signed by the authorities associated with this JVM will be accepted.
Allowed Values
The DN of any Trust Manager Provider. The referenced trust manager provider must be enabled when SSL is enabled.
Multi-valued
No
Required
No
Admin Action Required
None. Changes to this property take effect immediately, but only impact subsequent SSL connection negotiations.
Advanced Property
No
Read-only
No

use-password-caching

Description
Indicates whether passwords should be cached locally within the user's entry.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

use-ssl

Description
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.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
The LDAP Pass Through Authentication Policy must be disabled and re-enabled for changes to this setting to take effect
Advanced Property
No
Read-only
No


Advanced Properties

java-class

Description
Specifies the fully-qualified name of the Java class which provides the LDAP Pass Through Authentication Policy implementation.
Default Value
org.opends.server.extensions.LDAPPassThroughAuthenticationPolicyFactory
Allowed Values
A java class that implements or extends the class(es) :
org.opends.server.api.AuthenticationPolicyFactory
Multi-valued
No
Required
Yes
Admin Action Required
The LDAP Pass Through Authentication Policy must be disabled and re-enabled for changes to this setting to take effect
Advanced Property
Yes
Read-only
No

ssl-cipher-suite

Description
Specifies the names of the SSL cipher suites that are allowed for use in SSL based LDAP connections.
Default Value
Uses the default set of SSL cipher suites provided by the server's JVM.
Allowed Values
A String
Multi-valued
Yes
Required
No
Admin Action Required
None. Changes to this property take effect immediately but will only impact new SSL LDAP connections created after the change.
Advanced Property
Yes
Read-only
No

ssl-protocol

Description
Specifies the names of the SSL protocols which are allowed for use in SSL based LDAP connections.
Default Value
Uses the default set of SSL protocols provided by the server's JVM.
Allowed Values
A String
Multi-valued
Yes
Required
No
Admin Action Required
None. Changes to this property take effect immediately but will only impact new SSL LDAP connections created after the change.
Advanced Property
Yes
Read-only
No

use-tcp-keep-alive

Description
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.
Default Value
true
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
Yes
Read-only
No

use-tcp-no-delay

Description
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.
Default Value
true
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
Yes
Read-only
No