com.hack23.cia.web.impl.ui.common
Class CustomUserDetailsService

Package class diagram package CustomUserDetailsService
java.lang.Object
  extended by com.hack23.cia.web.impl.ui.common.CustomUserDetailsService
All Implemented Interfaces:
org.springframework.security.core.userdetails.AuthenticationUserDetailsService<org.springframework.security.openid.OpenIDAuthenticationToken>, org.springframework.security.core.userdetails.UserDetailsService

public final class CustomUserDetailsService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService, org.springframework.security.core.userdetails.AuthenticationUserDetailsService<org.springframework.security.openid.OpenIDAuthenticationToken>

The Class CustomUserDetailsService.


Constructor Summary
CustomUserDetailsService(String defaultAdminOpenId, String email, String fullName)
          Instantiates a new custom user details service.
 
Method Summary
 org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String id)
           
 org.springframework.security.core.userdetails.UserDetails loadUserDetails(org.springframework.security.openid.OpenIDAuthenticationToken token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomUserDetailsService

public CustomUserDetailsService(String defaultAdminOpenId,
                                String email,
                                String fullName)
Instantiates a new custom user details service.

Parameters:
defaultAdminOpenId - the default admin open id
email - the email
fullName - the full name
Method Detail

loadUserByUsername

public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String id)
Specified by:
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService

loadUserDetails

public org.springframework.security.core.userdetails.UserDetails loadUserDetails(org.springframework.security.openid.OpenIDAuthenticationToken token)
Specified by:
loadUserDetails in interface org.springframework.security.core.userdetails.AuthenticationUserDetailsService<org.springframework.security.openid.OpenIDAuthenticationToken>


Copyright © 2008-2012 www.hack23.com. All Rights Reserved.