类 NacosLdapContextSource

  • 所有已实现的接口:
    org.springframework.beans.factory.InitializingBean, org.springframework.ldap.core.ContextSource, org.springframework.ldap.core.support.BaseLdapPathContextSource, org.springframework.ldap.core.support.BaseLdapPathSource

    public class NacosLdapContextSource
    extends org.springframework.ldap.core.support.LdapContextSource
    NacosLdapContextSource.
    作者:
    karsonto
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      private java.util.Map<java.lang.String,​java.lang.Object> config  
      private static java.lang.String LDAPS  
      private boolean useTsl  
      • 从类继承的字段 org.springframework.ldap.core.support.AbstractContextSource

        password, SUN_LDAP_POOLING_FLAG, userDn
    • 构造器概要

      构造器 
      构造器 说明
      NacosLdapContextSource​(java.lang.String ldapUrl, java.lang.String ldapBaseDc, java.lang.String userDn, java.lang.String password, java.lang.String ldapTimeOut)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void init​(java.lang.String ldapTimeOut)
      init LdapContextSource config.
      • 从类继承的方法 org.springframework.ldap.core.support.LdapContextSource

        getDirContextInstance
      • 从类继承的方法 org.springframework.ldap.core.support.AbstractContextSource

        afterPropertiesSet, assembleProviderUrlString, createContext, getAnonymousEnv, getAuthenticatedEnv, getAuthenticationSource, getBaseLdapName, getBaseLdapPath, getBaseLdapPathAsString, getContext, getContextFactory, getDirObjectFactory, getPassword, getReadOnlyContext, getReadWriteContext, getUrls, getUserDn, isAnonymousReadOnly, isPooled, setAnonymousReadOnly, setAuthenticationSource, setAuthenticationStrategy, setBase, setBaseEnvironmentProperties, setCacheEnvironmentProperties, setContextFactory, setDirObjectFactory, setPassword, setPooled, setReferral, setupAuthenticatedEnvironment, setUrl, setUrls, setUserDn
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • config

        private final java.util.Map<java.lang.String,​java.lang.Object> config
      • useTsl

        private boolean useTsl
      • LDAPS

        private static final java.lang.String LDAPS
        另请参阅:
        常量字段值
    • 构造器详细资料

      • NacosLdapContextSource

        public NacosLdapContextSource​(java.lang.String ldapUrl,
                                      java.lang.String ldapBaseDc,
                                      java.lang.String userDn,
                                      java.lang.String password,
                                      java.lang.String ldapTimeOut)
    • 方法详细资料

      • init

        public void init​(java.lang.String ldapTimeOut)
        init LdapContextSource config.
        参数:
        ldapTimeOut - ldap connection time out.