Spring Social

org.springframework.social.security
Class AuthenticationNameUserIdSource

java.lang.Object
  extended by org.springframework.social.security.AuthenticationNameUserIdSource
All Implemented Interfaces:
UserIdSource

public class AuthenticationNameUserIdSource
extends java.lang.Object
implements UserIdSource

Implementation of UserIdSource that returns the Spring Security Authentication's name as the user ID.

Author:
Craig Walls

Constructor Summary
AuthenticationNameUserIdSource()
           
 
Method Summary
 java.lang.String getUserId()
          Returns an account ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationNameUserIdSource

public AuthenticationNameUserIdSource()
Method Detail

getUserId

public java.lang.String getUserId()
Description copied from interface: UserIdSource
Returns an account ID.

Specified by:
getUserId in interface UserIdSource

Spring Social