FileDocCategorySizeDatePackage
URLPatternUniqueInSecurityConstraints.javaAPI DocGlassfish v2 API2850Fri May 04 22:34:10 BST 2007com.sun.enterprise.tools.verifier.tests.web

URLPatternUniqueInSecurityConstraints

public class URLPatternUniqueInSecurityConstraints extends URLPatternUnique

Fields Summary
Constructors Summary
Methods Summary
protected java.util.CollectiongetUrlPatterns(WebBundleDescriptor descriptor)

        ArrayList<Object>patterns=new ArrayList<Object>();
        for (Enumeration e=descriptor.getSecurityConstraints(); e.hasMoreElements();){
            for (Enumeration ee = ((SecurityConstraint) e.nextElement()).getWebResourceCollections(); ee.hasMoreElements();) {
                for (Enumeration eee=((WebResourceCollection) ee.nextElement()).getUrlPatterns(); eee.hasMoreElements();) {
                    patterns.add(eee.nextElement());
                }
            }
        }
	return patterns;