com.stratelia.webactiv.yellowpages.servlets
Class YellowpagesActionAccessController

java.lang.Object
  extended by com.stratelia.webactiv.yellowpages.servlets.YellowpagesActionAccessController

public class YellowpagesActionAccessController
extends Object

Author:
ebonnet

Constructor Summary
YellowpagesActionAccessController()
           
 
Method Summary
 boolean hasRightAccess(String action, com.stratelia.webactiv.SilverpeasRole role)
          Check if user role has right access to the given action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YellowpagesActionAccessController

public YellowpagesActionAccessController()
Method Detail

hasRightAccess

public boolean hasRightAccess(String action,
                              com.stratelia.webactiv.SilverpeasRole role)
Check if user role has right access to the given action

Parameters:
action - the checked action
role - the highest user role
Returns:
true if given role has right access to the action


Copyright © 2016 Silverpeas. All Rights Reserved.