|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.iai.ilcd.security.UserAccessBean
public class UserAccessBean
Constructor Summary | |
---|---|
UserAccessBean()
|
Method Summary | |
---|---|
java.lang.String |
getUserName()
Get the user name of the current user |
boolean |
hasRole(SecurityRole role)
Check if current user has a specific role |
boolean |
hasRole(java.lang.String role)
Check if current user has a specific role |
boolean |
isAdmin()
Determine if current user is an admin user |
boolean |
isHasFullViewRights()
Determine if current user has full view rights |
boolean |
isLoggedIn()
Determine if user is logged in |
boolean |
isSuperAdmin()
Determine if current user is a super admin user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserAccessBean()
Method Detail |
---|
public boolean isLoggedIn()
true
if user logged in, else false
public boolean isAdmin()
true
if user has role ADMIN, else false
public boolean isSuperAdmin()
true
if user user name
of current user is "admin" (predefined account), else false
public boolean isHasFullViewRights()
true
if guests have full view rights by default (configuration) or current user has role EXPORT, else false
public boolean hasRole(java.lang.String role)
role
- role name to check
true
if current user has the role (directly or via group roles), else false
public boolean hasRole(SecurityRole role)
role
- role to check
true
if current user has the role (directly or via group roles), else false
public java.lang.String getUserName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |