org.cruxframework.crux.core.client.permission
Class DefaultRoleManager
java.lang.Object
org.cruxframework.crux.core.client.permission.DefaultRoleManager
- All Implemented Interfaces:
- RoleManager
public class DefaultRoleManager
- extends Object
- implements RoleManager
Default manager for user roles
- Author:
- Thiago da Rosa de Bustamante
|
Method Summary |
boolean |
hasRole(String role)
Return true if the current user has the given role associated to him |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRoleManager
public DefaultRoleManager()
hasRole
public boolean hasRole(String role)
- Description copied from interface:
RoleManager
- Return true if the current user has the given role associated to him
- Specified by:
hasRole in interface RoleManager
- Returns:
Copyright © 2014. All rights reserved.