类 LdapAuthenticationManager
java.lang.Object
com.alibaba.nacos.plugin.auth.impl.authenticate.AbstractAuthenticationManager
com.alibaba.nacos.plugin.auth.impl.authenticate.LdapAuthenticationManager
- 所有已实现的接口:
IAuthenticationManager
LdapAuthenticatoinManager.
- 作者:
- Weizhan▪Yun
-
字段概要
字段修饰符和类型字段说明private final booleanprivate final Stringprivate final org.springframework.ldap.core.LdapTemplate从类继承的字段 com.alibaba.nacos.plugin.auth.impl.authenticate.AbstractAuthenticationManager
jwtTokenManager, roleService, userDetailsService -
构造器概要
构造器构造器说明LdapAuthenticationManager(org.springframework.ldap.core.LdapTemplate ldapTemplate, NacosUserService userDetailsService, TokenManagerDelegate jwtTokenManager, NacosRoleService roleService, String filterPrefix, boolean caseSensitive) -
方法概要
从类继承的方法 com.alibaba.nacos.plugin.auth.impl.authenticate.AbstractAuthenticationManager
authenticate, authenticate, authorize, hasGlobalAdminRole, hasGlobalAdminRole, hasGlobalAdminRole
-
字段详细资料
-
filterPrefix
-
caseSensitive
private final boolean caseSensitive -
ldapTemplate
private final org.springframework.ldap.core.LdapTemplate ldapTemplate
-
-
构造器详细资料
-
LdapAuthenticationManager
public LdapAuthenticationManager(org.springframework.ldap.core.LdapTemplate ldapTemplate, NacosUserService userDetailsService, TokenManagerDelegate jwtTokenManager, NacosRoleService roleService, String filterPrefix, boolean caseSensitive)
-
-
方法详细资料
-
authenticate
从接口复制的说明:IAuthenticationManagerAuthentication of user with password.- 指定者:
authenticate在接口中IAuthenticationManager- 覆盖:
authenticate在类中AbstractAuthenticationManager- 参数:
username- usernamerawPassword- raw password- 返回:
- user related to this request, null if no user info is found.
- 抛出:
AccessException- if authentication is failed
-
ldapLogin
-