|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zeroexchange.security.SSAuthorizedUserService
public class SSAuthorizedUserService
Spring Security - based implementation of the AuthorizedUserService.
Constructor Summary | |
---|---|
SSAuthorizedUserService()
|
Method Summary | |
---|---|
User |
getCurrentUser()
Returns the logged user. |
Integer |
getCurrentUserId()
Returns PK of the logged user. |
String |
getCurrentUserName()
Returns name of the logged user. |
boolean |
isLocalUser()
Returns true if user logged using LocalCredential |
boolean |
isUserLogged()
Returns true if current user is logged in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSAuthorizedUserService()
Method Detail |
---|
public boolean isUserLogged()
isUserLogged
in interface AuthorizedUserService
public String getCurrentUserName()
getCurrentUserName
in interface AuthorizedUserService
public Integer getCurrentUserId()
getCurrentUserId
in interface AuthorizedUserService
public User getCurrentUser()
getCurrentUser
in interface AuthorizedUserService
public boolean isLocalUser()
AuthorizedUserService
isLocalUser
in interface AuthorizedUserService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |