Package de.theit.jenkins.crowd
Class CrowdUserDetailsService
java.lang.Object
de.theit.jenkins.crowd.CrowdUserDetailsService
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
public class CrowdUserDetailsService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
This class provides the service to load a user object from the remote Crowd
server.
- Since:
- 07.09.2011
- Version:
- $Id$
- Author:
- Thorsten Heit (theit@gmx.de)
-
Constructor Summary
ConstructorsConstructorDescriptionCrowdUserDetailsService(CrowdConfigurationService pConfiguration) Creates a new instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetailsloadUserByUsername(String username)
-
Constructor Details
-
CrowdUserDetailsService
Creates a new instance of this class.- Parameters:
pConfiguration- The configuration to access the services on the remote Crowd server. May not benull.
-
-
Method Details
-
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException - Specified by:
loadUserByUsernamein interfaceorg.springframework.security.core.userdetails.UserDetailsService- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException- See Also:
-
UserDetailsService.loadUserByUsername(java.lang.String)
-