de.theit.hudson.crowd
Class CrowdUserDetailsService
java.lang.Object
de.theit.hudson.crowd.CrowdUserDetailsService
- All Implemented Interfaces:
- org.acegisecurity.userdetails.UserDetailsService
public class CrowdUserDetailsService
- extends Object
- implements org.acegisecurity.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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdUserDetailsService
public CrowdUserDetailsService(CrowdConfigurationService pConfiguration)
- Creates a new instance of this class.
- Parameters:
pConfiguration - The configuration to access the services on the remote Crowd
server. May not be null.
loadUserByUsername
public org.acegisecurity.userdetails.UserDetails loadUserByUsername(String username)
throws org.acegisecurity.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
-
- Specified by:
loadUserByUsername in interface org.acegisecurity.userdetails.UserDetailsService
- Throws:
org.acegisecurity.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException- See Also:
UserDetailsService.loadUserByUsername(java.lang.String)
Copyright © 2004-2011 Hudson. All Rights Reserved.