Skip to content

Commit dbe616e

Browse files
SoftlySplinterGitHub Enterprise
authored andcommitted
Improve, workable web.xml
1 parent fb6b7f3 commit dbe616e

File tree

1 file changed

+22
-6
lines changed
  • cics-eventprocessing-java/cics-eventprocessing-java-webapp/src/main/webapp/WEB-INF

1 file changed

+22
-6
lines changed
Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
1-
<!DOCTYPE web-app PUBLIC
2-
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
3-
"http://java.sun.com/dtd/web-app_2_3.dtd" >
4-
5-
<web-app>
6-
<display-name>Archetype Created Web Application</display-name>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
3+
<display-name>cics-eventprocessing-java</display-name>
4+
<login-config>
5+
<auth-method>BASIC</auth-method>
6+
</login-config>
7+
<security-constraint>
8+
<display-name>com.ibm.cicsdev.eventprocessing</display-name>
9+
<web-resource-collection>
10+
<web-resource-name>com.ibm.cicsdev.eventprocessing</web-resource-name>
11+
<description>Protection rules for all servlets</description>
12+
<url-pattern>/*</url-pattern>
13+
</web-resource-collection>
14+
<auth-constraint>
15+
<description>All Authenticated users </description>
16+
<role-name>cicsAllAuthenticated</role-name>
17+
</auth-constraint>
18+
</security-constraint>
19+
<security-role>
20+
<description>The CICS cicsAllAuthenticated role</description>
21+
<role-name>cicsAllAuthenticated</role-name>
22+
</security-role>
723
</web-app>

0 commit comments

Comments
 (0)