类 LdapAuthenticationProvider

java.lang.Object
com.alibaba.nacos.plugin.auth.impl.ldap.LdapAuthenticationProvider
所有已实现的接口:
org.springframework.security.authentication.AuthenticationProvider

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

    • userDetailsService

      private final NacosUserService userDetailsService
      已过时。
    • nacosRoleService

      private final NacosRoleService nacosRoleService
      已过时。
    • ldapTemplate

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

      private final String filterPrefix
      已过时。
    • caseSensitive

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

    • LdapAuthenticationProvider

      public LdapAuthenticationProvider(org.springframework.ldap.core.LdapTemplate ldapTemplate, NacosUserService userDetailsService, NacosRoleService nacosRoleService, 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(String username)
      已过时。
    • ldapLogin

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

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