org.apache.jetspeed.security.impl
Class SecurityAccessControllerImpl

java.lang.Object
  extended by org.apache.jetspeed.security.impl.SecurityAccessControllerImpl
All Implemented Interfaces:
org.apache.jetspeed.security.SecurityAccessController

public class SecurityAccessControllerImpl
extends Object
implements org.apache.jetspeed.security.SecurityAccessController

SecurityAccessorImpl implements SecurityAccessor component abstracting access to either Security Permission or Security Constraint implementations

Version:
$Id: $
Author:
David Sean Taylor

Field Summary
protected  org.apache.jetspeed.page.PageManager pageManager
           
protected  int securityMode
           
 
Fields inherited from interface org.apache.jetspeed.security.SecurityAccessController
CONSTRAINTS, PERMISSIONS
 
Constructor Summary
SecurityAccessControllerImpl(org.apache.jetspeed.page.PageManager pageManager, int securityMode)
           
 
Method Summary
 boolean checkPortletAccess(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet, int mask)
           
 int getSecurityMode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageManager

protected org.apache.jetspeed.page.PageManager pageManager

securityMode

protected int securityMode
Constructor Detail

SecurityAccessControllerImpl

public SecurityAccessControllerImpl(org.apache.jetspeed.page.PageManager pageManager,
                                    int securityMode)
Method Detail

getSecurityMode

public int getSecurityMode()
Specified by:
getSecurityMode in interface org.apache.jetspeed.security.SecurityAccessController

checkPortletAccess

public boolean checkPortletAccess(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
                                  int mask)
Specified by:
checkPortletAccess in interface org.apache.jetspeed.security.SecurityAccessController


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