public class FlowableAuthenticationProvider
extends org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
AuthenticationProvider that uses the IdmIdentityService and
UserDetailsService to check the user credentials and and load the user. It uses the UsernamePasswordAuthenticationToken.| Modifier and Type | Field and Description |
|---|---|
protected IdmIdentityService |
idmIdentityService |
protected org.springframework.security.core.userdetails.UserDetailsService |
userDetailsService |
| Constructor and Description |
|---|
FlowableAuthenticationProvider(IdmIdentityService idmIdentityService,
org.springframework.security.core.userdetails.UserDetailsService userDetailsService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) |
protected org.springframework.security.core.userdetails.UserDetails |
retrieveUser(String username,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) |
afterPropertiesSet, authenticate, createSuccessAuthentication, doAfterPropertiesSet, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache, supportsprotected final IdmIdentityService idmIdentityService
protected final org.springframework.security.core.userdetails.UserDetailsService userDetailsService
public FlowableAuthenticationProvider(IdmIdentityService idmIdentityService, org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
protected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails,
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
throws org.springframework.security.core.AuthenticationException
additionalAuthenticationChecks in class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionprotected org.springframework.security.core.userdetails.UserDetails retrieveUser(String username, org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) throws org.springframework.security.core.AuthenticationException
retrieveUser in class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionCopyright © 2020 Flowable. All rights reserved.