org.ow2.jonas.deployment.web
Class SecurityConstraintListDesc

java.lang.Object
  extended by org.ow2.jonas.deployment.web.SecurityConstraintListDesc

public class SecurityConstraintListDesc
extends Object

This class is used to manage security constraint in web applications useful for JACC implementation as it returns set of JACC permissions

Author:
Florent Benoit

Constructor Summary
SecurityConstraintListDesc(WebApp webApp)
          Constructor
 
Method Summary
 PermissionCollection getExcludedPermissions()
          Gets the excluded permissions
 Map getPermissionsByRole()
          Gets the permissions by role Map
 PermissionCollection getUncheckedPermissions()
          Gets the unchecked permissions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityConstraintListDesc

public SecurityConstraintListDesc(WebApp webApp)
Constructor

Parameters:
webApp - root element of security constraints
Method Detail

getExcludedPermissions

public PermissionCollection getExcludedPermissions()
Gets the excluded permissions

Returns:
excluded permissions

getUncheckedPermissions

public PermissionCollection getUncheckedPermissions()
Gets the unchecked permissions

Returns:
unchecked permissions

getPermissionsByRole

public Map getPermissionsByRole()
Gets the permissions by role Map

Returns:
a Map containing permissions by role


Copyright © 2010 OW2 Consortium. All Rights Reserved.