org.apache.jetspeed.layout.impl
Class PortletActionSecurityConstraintsBehavior

java.lang.Object
  extended by org.apache.jetspeed.layout.impl.PortletActionSecurityPathBehavior
      extended by org.apache.jetspeed.layout.impl.PortletActionSecurityConstraintsBehavior
All Implemented Interfaces:
org.apache.jetspeed.layout.PortletActionSecurityBehavior

public class PortletActionSecurityConstraintsBehavior
extends PortletActionSecurityPathBehavior
implements org.apache.jetspeed.layout.PortletActionSecurityBehavior

Abstracted behavior of security checks for portlet actions

Version:
$Id: $
Author:
David Sean Taylor

Field Summary
protected  String guest
           
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.jetspeed.layout.impl.PortletActionSecurityPathBehavior
pageManager
 
Constructor Summary
PortletActionSecurityConstraintsBehavior(org.apache.jetspeed.page.PageManager pageManager)
           
PortletActionSecurityConstraintsBehavior(org.apache.jetspeed.page.PageManager pageManager, Boolean enableCreateUserPagesFromRolesOnEdit)
           
 
Method Summary
 boolean checkAccess(org.apache.jetspeed.request.RequestContext context, String action)
           
 
Methods inherited from class org.apache.jetspeed.layout.impl.PortletActionSecurityPathBehavior
createNewPageOnEdit, isCreateNewPageOnEditEnabled, isPageQualifiedForCreateNewPageOnEdit, isPageQualifiedForCreateNewPageOnEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.layout.PortletActionSecurityBehavior
createNewPageOnEdit, isCreateNewPageOnEditEnabled, isPageQualifiedForCreateNewPageOnEdit
 

Field Detail

log

protected org.apache.commons.logging.Log log

guest

protected String guest
Constructor Detail

PortletActionSecurityConstraintsBehavior

public PortletActionSecurityConstraintsBehavior(org.apache.jetspeed.page.PageManager pageManager)

PortletActionSecurityConstraintsBehavior

public PortletActionSecurityConstraintsBehavior(org.apache.jetspeed.page.PageManager pageManager,
                                                Boolean enableCreateUserPagesFromRolesOnEdit)
Method Detail

checkAccess

public boolean checkAccess(org.apache.jetspeed.request.RequestContext context,
                           String action)
Specified by:
checkAccess in interface org.apache.jetspeed.layout.PortletActionSecurityBehavior
Overrides:
checkAccess in class PortletActionSecurityPathBehavior


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.