org.apache.jetspeed.layout.impl
Class PortletActionSecurityPathBehavior

java.lang.Object
  extended by org.apache.jetspeed.layout.impl.PortletActionSecurityPathBehavior
All Implemented Interfaces:
org.apache.jetspeed.layout.PortletActionSecurityBehavior
Direct Known Subclasses:
PortletActionSecurityConstraintsBehavior, PortletActionSecurityPathMergeBehavior

public class PortletActionSecurityPathBehavior
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  org.apache.jetspeed.page.PageManager pageManager
           
 
Constructor Summary
PortletActionSecurityPathBehavior(org.apache.jetspeed.page.PageManager pageManager)
           
 
Method Summary
 boolean checkAccess(org.apache.jetspeed.request.RequestContext context, String action)
           
 boolean createNewPageOnEdit(org.apache.jetspeed.request.RequestContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log

pageManager

protected org.apache.jetspeed.page.PageManager pageManager
Constructor Detail

PortletActionSecurityPathBehavior

public PortletActionSecurityPathBehavior(org.apache.jetspeed.page.PageManager pageManager)
Method Detail

checkAccess

public boolean checkAccess(org.apache.jetspeed.request.RequestContext context,
                           String action)
Specified by:
checkAccess 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.