| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <web-app version="1.4" |
| xmlns="http://java.sun.com/xml/ns/j2ee" |
| xmlns:ger="http://geronimo.apache.org/xml/schema/j2ee" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://geronimo.apache.org/xml/schema/j2ee/geronimo-web-app.xsd"> |
| |
| <security/> |
| |
| <security-role> |
| <role-name>R1</role-name> |
| </security-role> |
| |
| <security-constraint> |
| <web-resource-collection> |
| <web-resource-name>sc1.c1</web-resource-name> |
| <url-pattern>/a/*</url-pattern> |
| <url-pattern>/b/*</url-pattern> |
| <url-pattern>/a</url-pattern> |
| <url-pattern>/b</url-pattern> |
| <http-method>DELETE</http-method> |
| <http-method>PUT </http-method> |
| </web-resource-collection> |
| |
| <web-resource-collection> |
| <web-resource-name>sc1.c2</web-resource-name> |
| <url-pattern>*.asp</url-pattern> |
| </web-resource-collection> |
| |
| <auth-constraint/> |
| </security-constraint> |
| |
| <security-constraint> |
| <web-resource-collection> |
| <web-resource-name>sc2.c1</web-resource-name> |
| <url-pattern>/a/*</url-pattern> |
| <url-pattern>/b/*</url-pattern> |
| <http-method>GET</http-method> |
| </web-resource-collection> |
| |
| <web-resource-collection> |
| <web-resource-name>sc2.c2</web-resource-name> |
| <url-pattern>/b/*</url-pattern> |
| <http-method>POST</http-method> |
| </web-resource-collection> |
| |
| <auth-constraint> |
| <role-name>R1</role-name> |
| </auth-constraint> |
| |
| <user-data-constraint> |
| <transport-guarantee>CONFIDENTIAL</transport-guarantee> |
| </user-data-constraint> |
| </security-constraint> |
| </web-app> |