@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 |
|---|---|
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 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. All rights reserved.