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
Constructors Constructor Description ChainedUserDetailsService(List<org.springframework.security.core.userdetails.UserDetailsService> delegates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.userdetails.UserDetails
loadUserByUsername(String s)
-
-
-
Constructor Detail
-
ChainedUserDetailsService
public ChainedUserDetailsService(List<org.springframework.security.core.userdetails.UserDetailsService> delegates)
-
-
Method Detail
-
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
-
-