@Configuration(proxyBeanMethods=false) @EnableAutoConfiguration(exclude=org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration.class) public class LdapAuthConfig extends Object
| 构造器和说明 |
|---|
LdapAuthConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
LdapAuthenticationProvider |
ldapAuthenticationProvider(org.springframework.ldap.core.LdapTemplate ldapTemplate,
NacosUserDetailsServiceImpl userDetailsService,
NacosRoleServiceImpl nacosRoleService) |
IAuthenticationManager |
ldapAuthenticatoinManager(org.springframework.ldap.core.LdapTemplate ldapTemplate,
NacosUserDetailsServiceImpl userDetailsService,
TokenManagerDelegate jwtTokenManager,
NacosRoleServiceImpl roleService) |
org.springframework.ldap.core.support.LdapContextSource |
ldapContextSource() |
org.springframework.ldap.core.LdapTemplate |
ldapTemplate(org.springframework.ldap.core.support.LdapContextSource ldapContextSource) |
@Bean @Conditional(value=ConditionOnLdapAuth.class) public org.springframework.ldap.core.LdapTemplate ldapTemplate(org.springframework.ldap.core.support.LdapContextSource ldapContextSource)
@Bean public org.springframework.ldap.core.support.LdapContextSource ldapContextSource()
@Bean @Conditional(value=ConditionOnLdapAuth.class) public LdapAuthenticationProvider ldapAuthenticationProvider(org.springframework.ldap.core.LdapTemplate ldapTemplate, NacosUserDetailsServiceImpl userDetailsService, NacosRoleServiceImpl nacosRoleService)
@Bean @Conditional(value=ConditionOnLdapAuth.class) public IAuthenticationManager ldapAuthenticatoinManager(org.springframework.ldap.core.LdapTemplate ldapTemplate, NacosUserDetailsServiceImpl userDetailsService, TokenManagerDelegate jwtTokenManager, NacosRoleServiceImpl roleService)
Copyright © 2018–2023 Alibaba Group. All rights reserved.