@Service(value="templateUserService") public class TemplateUserServiceImpl extends Object implements TemplateUserService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ROLE_ANONYMOUS |
| Constructor and Description |
|---|
TemplateUserServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
getAuthentication()
returns the authentication object
|
Object |
getUserDetails()
returns user details object
|
String |
getUserName()
should return the user name
|
Object |
getUserPrincipal()
retunrs the principal
|
boolean |
isAnonymous()
returns if user is not logged in
|
protected static final String ROLE_ANONYMOUS
public org.springframework.security.core.Authentication getAuthentication()
TemplateUserServicegetAuthentication in interface TemplateUserServicepublic String getUserName()
TemplateUserServicegetUserName in interface TemplateUserServicepublic boolean isAnonymous()
TemplateUserServiceisAnonymous in interface TemplateUserServicepublic Object getUserDetails()
TemplateUserServicegetUserDetails in interface TemplateUserServicepublic Object getUserPrincipal()
TemplateUserServicegetUserPrincipal in interface TemplateUserServiceCopyright © 2016–2018. All rights reserved.