org.apache.jetspeed.layout.impl
Class RolesSecurityBehavior
java.lang.Object
org.apache.jetspeed.layout.impl.RolesSecurityBehavior
- All Implemented Interfaces:
- org.apache.jetspeed.layout.PortletActionSecurityBehavior
public class RolesSecurityBehavior
- extends Object
- implements org.apache.jetspeed.layout.PortletActionSecurityBehavior
Abstracted behavior of security checks for portlet actions
- Version:
- $Id: $
- Author:
- David Sean Taylor
Field Summary |
protected org.apache.commons.logging.Log |
log
|
protected List |
roles
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.apache.commons.logging.Log log
roles
protected List roles
RolesSecurityBehavior
public RolesSecurityBehavior(List roles)
checkAccess
public boolean checkAccess(org.apache.jetspeed.request.RequestContext context,
String action)
- Specified by:
checkAccess
in interface org.apache.jetspeed.layout.PortletActionSecurityBehavior
isCreateNewPageOnEditEnabled
public boolean isCreateNewPageOnEditEnabled()
- Specified by:
isCreateNewPageOnEditEnabled
in interface org.apache.jetspeed.layout.PortletActionSecurityBehavior
isPageQualifiedForCreateNewPageOnEdit
public boolean isPageQualifiedForCreateNewPageOnEdit(org.apache.jetspeed.request.RequestContext context)
- Specified by:
isPageQualifiedForCreateNewPageOnEdit
in interface org.apache.jetspeed.layout.PortletActionSecurityBehavior
createNewPageOnEdit
public boolean createNewPageOnEdit(org.apache.jetspeed.request.RequestContext context)
- Specified by:
createNewPageOnEdit
in interface org.apache.jetspeed.layout.PortletActionSecurityBehavior
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.