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 Details

    • 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 Details

    • loadUserByUsername

      public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
      Specified by:
      loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService
      Throws:
      org.springframework.security.core.userdetails.UsernameNotFoundException
      See Also:
      • UserDetailsService.loadUserByUsername(java.lang.String)