类 LdapAuthenticationManager

    • 字段详细资料

      • filterPrefix

        private final java.lang.String filterPrefix
      • caseSensitive

        private final boolean caseSensitive
      • ldapTemplate

        private final org.springframework.ldap.core.LdapTemplate ldapTemplate
    • 方法详细资料

      • authenticate

        public NacosUser authenticate​(java.lang.String username,
                                      java.lang.String rawPassword)
                               throws com.alibaba.nacos.plugin.auth.exception.AccessException
        从接口复制的说明: IAuthenticationManager
        Authentication of user with password.
        指定者:
        authenticate 在接口中 IAuthenticationManager
        覆盖:
        authenticate 在类中 AbstractAuthenticationManager
        参数:
        username - username
        rawPassword - raw password
        返回:
        user related to this request, null if no user info is found.
        抛出:
        com.alibaba.nacos.plugin.auth.exception.AccessException - if authentication is failed
      • ldapLogin

        private boolean ldapLogin​(java.lang.String username,
                                  java.lang.String password)