public class LdapAuthenticationManager extends AbstractAuthenticationManager
jwtTokenManager, roleService, userDetailsService| 构造器和说明 |
|---|
LdapAuthenticationManager(org.springframework.ldap.core.LdapTemplate ldapTemplate,
NacosUserDetailsServiceImpl userDetailsService,
TokenManagerDelegate jwtTokenManager,
NacosRoleServiceImpl roleService,
String filterPrefix,
boolean caseSensitive) |
| 限定符和类型 | 方法和说明 |
|---|---|
NacosUser |
authenticate(String username,
String rawPassword)
Authentication of user with password.
|
authenticate, authenticate, authorize, hasGlobalAdminRole, hasGlobalAdminRolepublic LdapAuthenticationManager(org.springframework.ldap.core.LdapTemplate ldapTemplate,
NacosUserDetailsServiceImpl userDetailsService,
TokenManagerDelegate jwtTokenManager,
NacosRoleServiceImpl roleService,
String filterPrefix,
boolean caseSensitive)
public NacosUser authenticate(String username, String rawPassword) throws AccessException
IAuthenticationManagerauthenticate 在接口中 IAuthenticationManagerauthenticate 在类中 AbstractAuthenticationManagerusername - usernamerawPassword - raw passwordAccessException - if authentication is failedCopyright © 2018–2023 Alibaba Group. All rights reserved.