Class ChainedUserDetailsService
java.lang.Object
org.pentaho.platform.plugin.services.security.userrole.ChainedUserDetailsService
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
public class ChainedUserDetailsService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
This class contains a list of UserDetailsService objects. Requests to load UserDetails will be delegated down to the
list in a round-robin fashion until a match is found. This first UserDetailsService to return a match will be used.
Created by nbaker on 5/13/14.
-
Constructor Summary
ConstructorDescriptionChainedUserDetailsService
(List<org.springframework.security.core.userdetails.UserDetailsService> delegates) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
-
Constructor Details
-
ChainedUserDetailsService
public ChainedUserDetailsService(List<org.springframework.security.core.userdetails.UserDetailsService> delegates)
-
-
Method Details
-
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String s) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException - Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
-