org.zeroexchange.security
Interface AuthorizedUserService

All Known Implementing Classes:
SSAuthorizedUserService

public interface AuthorizedUserService

Service provides info about the logged user.

Author:
black

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.
 

Method Detail

isUserLogged

boolean isUserLogged()
Returns true if current user is logged in.


getCurrentUserName

String getCurrentUserName()
Returns name of the logged user.


getCurrentUserId

Integer getCurrentUserId()
Returns PK of the logged user.


getCurrentUser

User getCurrentUser()
Returns the logged user.


isLocalUser

boolean isLocalUser()
Returns true if user logged using LocalCredential



Copyright © 2013. All Rights Reserved.