Class LDAPContextSource

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.ldap.core.ContextSource, org.springframework.ldap.core.support.BaseLdapPathContextSource, org.springframework.ldap.core.support.BaseLdapPathSource

    public class LDAPContextSource
    extends org.springframework.ldap.core.support.LdapContextSource
    Extend class responsible to store authentication informations. Secure authentication source that supports DIGEST-MD5.
    Attention: If you want to connect to Active Directory by using MD5, you need to use the 'reverse encryption' option for the users. In addition as username to connect you should use the logon('administrator@acme.com') and in the URL you need to use the domain name: ldap://logicaldoc.acme.com:389
    Since:
    4.5
    Author:
    Sebastian Wenzky
    See Also:
    LdapContextSource
    • Field Summary

      • Fields inherited from class org.springframework.ldap.core.support.AbstractContextSource

        SUN_LDAP_POOLING_FLAG
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static LDAPContextSource get​(LDAPServer server)  
      String getUrl()  
      boolean isBasic()  
      • Methods inherited from class org.springframework.ldap.core.support.AbstractContextSource

        afterPropertiesSet, getAuthenticationSource, getBaseLdapPath, getBaseLdapPathAsString, getContext, getContextFactory, getDirObjectFactory, getReadOnlyContext, getReadWriteContext, getUrls, isAnonymousReadOnly, isPooled, setAnonymousReadOnly, setAuthenticationSource, setAuthenticationStrategy, setBase, setBaseEnvironmentProperties, setCacheEnvironmentProperties, setContextFactory, setDirObjectFactory, setPassword, setPooled, setReferral, setUrl, setUrls, setUserDn