org.jboss.web
Class WebPermissionMapping

java.lang.Object
  extended by org.jboss.web.WebPermissionMapping

public class WebPermissionMapping
extends Object

A utility class encapsulating the logic for building the web container JACC permission from a deployment's metadata.

Version:
$Revision: 57209 $
Author:
Scott.Stark@jboss.org

Constructor Summary
WebPermissionMapping()
           
 
Method Summary
static void createPermissions(WebMetaData metaData, javax.security.jacc.PolicyConfiguration pc)
          Apply the JACC rules for creating permissions from the web.xml security-constraints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebPermissionMapping

public WebPermissionMapping()
Method Detail

createPermissions

public static void createPermissions(WebMetaData metaData,
                                     javax.security.jacc.PolicyConfiguration pc)
                              throws javax.security.jacc.PolicyContextException
Apply the JACC rules for creating permissions from the web.xml security-constraints.

Parameters:
metaData - - the web deployment web.xml/jboss-web.xml metadata
pc - - the active JACC policy configuration
Throws:
javax.security.jacc.PolicyContextException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.