de.theit.hudson.crowd
Class CrowdUserDetailsService

java.lang.Object
  extended by 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)

Constructor Summary
CrowdUserDetailsService(CrowdConfigurationService pConfiguration)
          Creates a new instance of this class.
 
Method Summary
 org.acegisecurity.userdetails.UserDetails loadUserByUsername(String username)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.