FileDocCategorySizeDatePackage
SecurityCollectionDecorator.javaAPI DocGlassfish v2 API3353Fri May 04 22:36:04 BST 2007com.sun.enterprise.web.deploy

SecurityCollectionDecorator

public class SecurityCollectionDecorator extends org.apache.catalina.deploy.SecurityCollection
Decorator of class org.apache.catalina.deploy.SecurityCollection
author
Jean-Francois Arcand

Fields Summary
private com.sun.enterprise.deployment.web.WebResourceCollection
decoree
Constructors Summary
public SecurityCollectionDecorator(com.sun.enterprise.deployment.web.WebResourceCollection decoree)

        this.decoree = decoree;
        
        Enumeration enumeration = decoree.getUrlPatterns();
        while(enumeration.hasMoreElements()){
            addPattern( (String)enumeration.nextElement() );
        }
        
        enumeration = decoree.getHttpMethods();
        while(enumeration.hasMoreElements()){
            addMethod( (String)enumeration.nextElement() );
        }                
   
Methods Summary
public java.lang.StringgetDescription()
Return the description of this web resource collection.

        return decoree.getDescription();
    
public java.lang.StringgetName()
Return the name of this web resource collection.

        return decoree.getName();