类 LdapAuthenticationProvider

  • 所有已实现的接口:
    org.springframework.security.authentication.AuthenticationProvider

    @Deprecated
    public class LdapAuthenticationProvider
    extends java.lang.Object
    implements org.springframework.security.authentication.AuthenticationProvider
    已过时。
    LDAP auth provider.
    作者:
    zjw
    • 字段详细资料

      • ldapTemplate

        private final org.springframework.ldap.core.LdapTemplate ldapTemplate
        已过时。
      • filterPrefix

        private final java.lang.String filterPrefix
        已过时。
      • caseSensitive

        private final boolean caseSensitive
        已过时。
    • 构造器详细资料

      • LdapAuthenticationProvider

        public LdapAuthenticationProvider​(org.springframework.ldap.core.LdapTemplate ldapTemplate,
                                          NacosUserDetailsServiceImpl userDetailsService,
                                          NacosRoleServiceImpl nacosRoleService,
                                          java.lang.String filterPrefix,
                                          boolean caseSensitive)
        已过时。
    • 方法详细资料

      • authenticate

        public org.springframework.security.core.Authentication authenticate​(org.springframework.security.core.Authentication authentication)
                                                                      throws org.springframework.security.core.AuthenticationException
        已过时。
        指定者:
        authenticate 在接口中 org.springframework.security.authentication.AuthenticationProvider
        抛出:
        org.springframework.security.core.AuthenticationException
      • isAdmin

        private boolean isAdmin​(java.lang.String username)
        已过时。
      • ldapLogin

        private boolean ldapLogin​(java.lang.String username,
                                  java.lang.String password)
                           throws org.springframework.security.core.AuthenticationException
        已过时。
        抛出:
        org.springframework.security.core.AuthenticationException
      • supports

        public boolean supports​(java.lang.Class<?> aClass)
        已过时。
        指定者:
        supports 在接口中 org.springframework.security.authentication.AuthenticationProvider