类 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
-
字段概要
字段修饰符和类型字段说明private final boolean已过时。private final String已过时。private final org.springframework.ldap.core.LdapTemplate已过时。private final NacosRoleService已过时。private final NacosUserService已过时。 -
构造器概要
构造器构造器说明LdapAuthenticationProvider(org.springframework.ldap.core.LdapTemplate ldapTemplate, NacosUserService userDetailsService, NacosRoleService nacosRoleService, String filterPrefix, boolean caseSensitive) 已过时。 -
方法概要
-
字段详细资料
-
userDetailsService
已过时。 -
nacosRoleService
已过时。 -
ldapTemplate
private final org.springframework.ldap.core.LdapTemplate ldapTemplate已过时。 -
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
已过时。 -
ldapLogin
private boolean ldapLogin(String username, String password) throws org.springframework.security.core.AuthenticationException 已过时。- 抛出:
org.springframework.security.core.AuthenticationException
-
supports
已过时。- 指定者:
supports在接口中org.springframework.security.authentication.AuthenticationProvider
-