org.apache.jetspeed.page
Class PageManagerSecurityUtils
java.lang.Object
org.apache.jetspeed.page.PageManagerSecurityUtils
public class PageManagerSecurityUtils
- extends java.lang.Object
PageManagerUtils
- Version:
- $Id: $
- Author:
- David Sean Taylor
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(SecurityConstraintsDef def,
java.lang.String actions)
throws DocumentException
- Throws:
DocumentException
checkConstraints
public static boolean checkConstraints(java.util.List actions,
java.util.List userPrincipals,
java.util.List rolePrincipals,
java.util.List groupPrincipals,
SecurityConstraintsDef def)
throws 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:
java.lang.SecurityException
DocumentException
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.