Package org.springframework.ldap.core.support
@NullMarked
package org.springframework.ldap.core.support
Support classes for Spring LDAP core functionality.
-
ClassDescriptionAbstract superclass that may be used instead of implementing
ContextMapperdirectly.Abstract implementation of theContextSourceinterface.Abstract superclass forDirContextAuthenticationStrategyimplementations that apply TLS security to the connections.Manages a sequence ofDirContextProcessorinstances.Interface to be implemented by classes that want to have access to the base context used in the activeContextSource.Deprecated.Interface to be implemented byContextSourcesthat are capable of providing the base LDAP path.Implementations of this interface are capable of providing a base LDAP path.Currently only per request controls can be inspected via the post process method on a context processor.Extension of theContextMapperinterface that allows controls to be passed to the mapper implementation.ABeanPostProcessorthat makes anyContextSourcebean observable by MicrometerANameClassPairCallbackHandlerfor counting all returned entries.Default implementation of the DirObjectFactory interface.Utility class that helps with reading all attribute values from Active Directory using Incremental Retrieval of Multi-valued Properties.Default implementation of TLS authentication.Support class to provideBaseLdapPathSourcefunctionality to ContextSource instances that act as proxies.Authentication strategy for LDAP DIGEST-MD5 SASL mechanism.A strategy to use when authenticating LDAP connections on creation.ContextSource implementation which creates InitialDirContext instances, for LDAPv2 compatibility.DirContextAuthenticationStrategyfor using TLS and external (SASL) authentication.ContextSource implementation which creates anInitialLdapContextinstance.Callback interface to be used together withSingleContextSource.Attempts to perform an LDAP operation in the authenticated context, because Active Directory might allow bind with incorrect password (specifically empty password), and later refuse operations.An implementation ofContextSourcethat returnsDirContextinstances that record the time each operation takes.The defaultDirContextAuthenticationStrategyimplementation, setting theDirContextenvironment up for 'SIMPLE' authentication, and specifying the user DN and password as SECURITY_PRINCIPAL and SECURITY_CREDENTIALS respectively in the authenticated environment before the context is created.AContextSourceto be used as a decorator around a target ContextSource to make sure the target is never actually closed.A proxy for DirContext forwarding all operation to the target DirContext, but making sure that nocloseoperations will be performed.
DistinguishedNameand associated classes and methods are deprecated as of 2.0.