org.riotfamily.pages.riot.security
Class SiteUserPolicy
java.lang.Object
org.riotfamily.pages.riot.security.SiteUserPolicy
- All Implemented Interfaces:
- AuthorizationPolicy, Ordered
public class SiteUserPolicy
- extends Object
- implements AuthorizationPolicy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteUserPolicy
public SiteUserPolicy(PageResolver pageResolver)
getOrder
public int getOrder()
- Specified by:
getOrder
in interface Ordered
setOrder
public void setOrder(int order)
getPermission
public AuthorizationPolicy.Permission getPermission(RiotUser riotUser,
String action,
Object object)
- Description copied from interface:
AuthorizationPolicy
- Returns the permission for the given user, action and object.
- Specified by:
getPermission
in interface AuthorizationPolicy
action
- The action to be performedobject
- The object on which the action is to be performed
isLimited
protected boolean isLimited(SiteUser siteUser)