Class AuthenticationNameUserIdSource
- java.lang.Object
-
- org.springframework.social.security.AuthenticationNameUserIdSource
-
- All Implemented Interfaces:
UserIdSource
public class AuthenticationNameUserIdSource extends Object implements UserIdSource
Implementation of UserIdSource that returns the Spring SecurityAuthentication's name as the user ID.- Author:
- Craig Walls
-
-
Constructor Summary
Constructors Constructor Description AuthenticationNameUserIdSource()
-
-
-
Method Detail
-
getUserId
public String getUserId()
- Specified by:
getUserIdin interfaceUserIdSource
-
-