@groovy.transform.CompileStatic class ChainedUserDetailsService extends java.lang.Object implements UserDetailsService
A UserDetailsService that delegates to a fixed ordered list of delegate services. The first delegate that successfully resolves the username wins; if every delegate throws UsernameNotFoundException, this service rethrows that exception.
Used by ComponentBasedConfigBlender.chainUserDetailsServices to
blend the Grails plugin's primary userDetailsService (the GORM-backed
GormUserDetailsService) with user-defined
org.springframework.security.provisioning.InMemoryUserDetailsManager
or org.springframework.security.provisioning.JdbcUserDetailsManager
beans defined per
Spring Security without the WebSecurityConfigurerAdapter.
| Type | Name and description |
|---|---|
java.util.List<UserDetailsService> |
delegates |
| Constructor and description |
|---|
ChainedUserDetailsService(java.util.List<UserDetailsService> delegates) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
UserDetails |
loadUserByUsername(java.lang.String username) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |