spring-social-security

org.springframework.social.security
Class AuthenticationNameUserIdSource

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

public class AuthenticationNameUserIdSource
extends java.lang.Object
implements org.springframework.social.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()
           
 
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()
Specified by:
getUserId in interface org.springframework.social.UserIdSource

spring-social-security