public class CustomLdapAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper |
authoritiesMapper |
protected org.flowable.idm.api.IdmIdentityService |
identityService |
protected org.springframework.context.support.MessageSourceAccessor |
messages |
protected org.springframework.security.core.userdetails.UserDetailsService |
userDetailsService |
| Constructor and Description |
|---|
CustomLdapAuthenticationProvider(org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
org.flowable.idm.api.IdmIdentityService identityService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
boolean |
supports(Class<?> authentication) |
protected org.springframework.security.core.userdetails.UserDetailsService userDetailsService
protected org.flowable.idm.api.IdmIdentityService identityService
protected org.springframework.context.support.MessageSourceAccessor messages
protected org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper
public CustomLdapAuthenticationProvider(org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
org.flowable.idm.api.IdmIdentityService identityService)
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(Class<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProviderCopyright © 2018 Flowable. All rights reserved.