org.cruxframework.crux.core.client.permission
Class DefaultRoleManager

java.lang.Object
  extended by 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

Constructor Summary
DefaultRoleManager()
           
 
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
 

Constructor Detail

DefaultRoleManager

public DefaultRoleManager()
Method Detail

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.