org.apache.jetspeed.page
Class PageManagerSecurityUtils
java.lang.Object
org.apache.jetspeed.page.PageManagerSecurityUtils
public class PageManagerSecurityUtils
- extends Object
PageManagerUtils
- Version:
- $Id: $
- Author:
- David Sean Taylor
Method Summary |
static boolean |
checkConstraint(org.apache.jetspeed.om.page.SecurityConstraintsDef def,
String actions)
|
static boolean |
checkConstraints(List actions,
List userPrincipals,
List rolePrincipals,
List groupPrincipals,
org.apache.jetspeed.om.page.SecurityConstraintsDef def)
check access for the constraints list of a security constraints definition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageManagerSecurityUtils
public PageManagerSecurityUtils()
checkConstraint
public static boolean checkConstraint(org.apache.jetspeed.om.page.SecurityConstraintsDef def,
String actions)
throws org.apache.jetspeed.page.document.DocumentException
- Throws:
org.apache.jetspeed.page.document.DocumentException
checkConstraints
public static boolean checkConstraints(List actions,
List userPrincipals,
List rolePrincipals,
List groupPrincipals,
org.apache.jetspeed.om.page.SecurityConstraintsDef def)
throws org.apache.jetspeed.page.document.DocumentException
- check access for the constraints list of a security constraints definition
- Parameters:
actions
- given actionsuserPrincipals
- set of user principalsrolePrincipals
- set of role principalsgroupPrincipals
- set oof group principalsdef
- the security constraint definition
- Throws:
SecurityException
org.apache.jetspeed.page.document.DocumentException
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.