org.zeroexchange.security
Class OpenIDUserDetailsService

java.lang.Object
  extended by org.zeroexchange.security.OpenIDUserDetailsService
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

public class OpenIDUserDetailsService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService

OpenID User details service. automatically registers user in the database.

Author:
black

Constructor Summary
OpenIDUserDetailsService()
           
 
Method Summary
 org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String userOpenId)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenIDUserDetailsService

public OpenIDUserDetailsService()
Method Detail

loadUserByUsername

@Transactional
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String userOpenId)
                                                                             throws org.springframework.security.core.userdetails.UsernameNotFoundException,
                                                                                    org.springframework.dao.DataAccessException

Specified by:
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService
Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException


Copyright © 2013. All Rights Reserved.