A bean identifier, used for referring to the bean elsewhere in the context.
"contextSource".
Defines whether read-only operations will be performed using an anonymous (unauthenticated) context.
Id of the AuthenticationSource instance to use. If not specified, a SimpleAuthenticationSource will
be used.
Id of the DirContextAuthenticationStrategy instance to use. If not specified, a SimpleDirContextAuthenticationStrategy
will be used.
The base DN. If configured, all LDAP operations on contexts retrieved from this ContextSource will
be relative to this DN. Default is an empty distinguished name (i.e. all operations will be
relative to the directory root).
The password to use for authentication.
Specify whether native Java LDAP connection pooling should be used. Default is false.
Defines the strategy to handle referrals, as described on https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html.
Default is null.
URL of the LDAP server to use. If fail-over functionality is desired, more than one URL can
be specified, separated using comma (,).
The username (principal) to use for authentication. This will normally be the distinguished name
of an admin user.
Reference to a Map of custom environment properties that should supplied with the environment
sent to the DirContext on construction.
The maximum number of active connections of each type (read-only|read-write)
that can be allocated from the pool at the same time, or non-positive for no limit.
Default is 8.
The overall maximum number of active connections (for all types) that can be allocated from
this pool at the same time, or non-positive for no limit. Default is -1 (no limit).
The maximum number of active connections of each type (read-only|read-write) that can remain idle in the pool,
without extra ones being released, or non-positive for no limit. Default is 8.
The minimum number of active connections of each type (read-only|read-write) that can remain
idle in the pool, without extra ones being created, or zero to create none. Default is 0.
The maximum number of milliseconds that the pool will wait (when there are no available connections)
for a connection to be returned before throwing an exception, or non-positive to wait indefinitely.
Default is -1.
Specifies the behaviour when the pool is exhausted.
Throw a NoSuchElementException when the pool is exhausted
Wait until a new object is available. If max-wait is positive a NoSuchElementException
is thrown if no new object is available after the maxWait time expires.
Create and return a new object (essentially making maxActive meaningless).
The indication of whether objects will be validated before being borrowed from the pool.
If the object fails to validate, it will be dropped from the pool, and an attempt to borrow another will be made.
Default is false.
The indication of whether objects will be validated before being returned to the pool.
Default is false.
The indication of whether objects will be validated by the idle object evictor (if any).
If an object fails to validate, it will be dropped from the pool.
Default is false.
The number of milliseconds to sleep between runs of the idle object evictor thread. When non-positive,
no idle object evictor thread will be run. Default is -1.
The number of objects to examine during each run of the idle object evictor thread (if any).
Default is 3.
The minimum amount of time an object may sit idle in the pool before it is eligible
for eviction by the idle object evictor (if any). Default is 1000 * 60 * 30.
The base dn to use for validation searches. Default is LdapUtils.emptyPath().
The filter to use for validation queries. Default is (objectclass=*).
Id of the SearchControls instance to use for searches. Default is searchScope=OBJECT_SCOPE;
countLimit: 1; timeLimit: 500; returningAttributes: [objectclass].
Id of the SearchControls instance to use for searches. Default is searchScope=OBJECT_SCOPE;
countLimit: 1; timeLimit: 500; returningAttributes: [objectclass].
The overall maximum number of active connections (for all types) that can be allocated from
this pool at the same time, or non-positive for no limit. Default is -1 (no limit).
The limit on the number of object instances allocated by the pool (checked out or idle),
per key. When the limit is reached, the sub-pool is said to be exhausted. A negative value
indicates no limit. Default is 8.
The maximum number of active connections per type (read-only|read-write) that can remain idle in the pool,
without extra ones being released, or non-positive for no limit. Default is 8.
The minimum number of active connections per type (read-only|read-write) that can remain
idle in the pool, without extra ones being created, or zero to create none. Default is 0.
The maximum number of milliseconds that the pool will wait (when there are no available connections)
for a connection to be returned before throwing an exception, or non-positive to wait indefinitely.
Default is -1.
Sets to wait until a new object is available. If max-wait is positive a NoSuchElementException
is thrown if no new object is available after the maxWait time expires. Default is true.
Sets whether objects created for the pool will be validated before borrowing. If the object
fails to validate, then borrowing will fail. Default is false.
The indication of whether objects will be validated before being borrowed from the pool.
If the object fails to validate, it will be dropped from the pool, and an attempt to borrow another will be made.
Default is false.
The indication of whether objects will be validated before being returned to the pool.
Default is false.
The indication of whether objects will be validated by the idle object evictor (if any).
If an object fails to validate, it will be dropped from the pool.
Default is false.
The number of milliseconds to sleep between runs of the idle object evictor thread. When non-positive,
no idle object evictor thread will be run. Default is -1.
The number of objects to examine during each run of the idle object evictor thread (if any).
Default is 3.
The minimum amount of time an object may sit idle in the pool before it is eligible
for eviction by the idle object evictor (if any). Default is 1000 * 60 * 30.
The minimum amount of time an object may sit idle in the pool before it is eligible for
eviction by the idle object evictor, with the extra condition that at least minimum number
of object instances per key remain in the pool. This settings is overridden by min-evictable-time-millis if
it is set to a positive value. Default is -1.
The name of the eviction policy implementation that is used by this pool. The Pool will
attempt to load the class using the thread context class loader. If that fails, the Pool
will attempt to load the class using the class loader that loaded this class. Default is
org.apache.commons.pool2.impl.DefaultEvictionPolicy.
Sets whether or not the pool serves threads waiting to borrow connections fairly.
True means that waiting threads are served as if waiting in a FIFO queue. Default is false.
Sets whether JMX will be enabled with the platform MBean server for the pool. Default
is true.
The value of the JMX name base that will be used as part of the name assigned
to JMX enabled pools. Default is null.
The value of the JMX name prefix that will be used as part of the name assigned
to JMX enabled pools. Default value is pool.
Sets whether the pool has LIFO (last in, first out) behaviour with
respect to idle objects - always returning the most recently used object
from the pool, or as a FIFO (first in, first out) queue, where the pool
always returns the oldest object in the idle object pool. Default is true.
The base dn to use for validation searches. Default is LdapUtils.emptyPath().
The filter to use for validation queries. Default is (objectclass=*).
Id of the SearchControls instance to use for searches. Default is searchScope=OBJECT_SCOPE;
countLimit: 1; timeLimit: 500; returningAttributes: [objectclass].
Id of the SearchControls instance to use for searches. Default is searchScope=OBJECT_SCOPE;
countLimit: 1; timeLimit: 500; returningAttributes: [objectclass].
Creates a ContextSource instance to be used to get LdapContexts for communicating with an LDAP server.
Defines the settings to use for the Spring LDAP connection pooling support.
Defines the settings to use for the Spring LDAP connection pooling support based on commons-pool2 library.
A bean identifier, used for referring to the bean elsewhere in the context.
Default is "ldapTemplate".
Id of the ContextSource instance to use. Default is "contextSource".
The default count limit for searches. Default is 0 (no limit).
The default time limit for searches. Default is 0 (no limit).
The default search scope for searches. Default is SUBTREE.
Specifies whether NameNotFoundException should be ignored in searches. Setting this
attribute to true will cause errors caused by invalid search base to be silently swallowed.
Default is false.
Specifies whether PartialResultException should be ignored in searches. Some LDAP servers
have problems with referrals; these should normally be followed automatically, but if this
doesn't work it will manifest itself with a PartialResultException. Setting this attribute
to true presents a work-around to this problem. Default is false.
Id of the ObjectDirectoryMapper instance to use. Default is a default-configured DefaultObjectDirectoryMapper.
Creates an LdapTemplate instance.
Id of this instance. Default is "transactionManager".
Id of the ContextSource instance to use. "contextSource".
Id of the DataSource instance to use.
Id of the Hibernate SessionFactory instance to use.
Creates an ContextSourceTransactionManager. If data-source-ref or session-factory-ref is specified,
a DataSourceAndContextSourceTransactionManager/HibernateAndContextSourceTransactionManager will be
created.
The default (simplistic) TempEntryRenamingStrategy. Please note that this
strategy will not work for more advanced scenarios. See reference documentation
for details.
The default suffix that will be added to modified entries.
Default is "_temp".
TempEntryRenamingStrategy that moves the entry to a different subtree than
the original entry.
The subtree base where changed entries should be moved.
The reference to an LdapTemplate. Will default to 'ldapTemplate'.