File: web.xml

package info (click to toggle)
httpunit 1.7%2Bdfsg-12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,564 kB
  • ctags: 6,646
  • sloc: java: 33,665; xml: 482; sh: 68; makefile: 11
file content (24 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version='1.0' encoding='ISO-8859-1'?>
<web-app>
  <servlet>
     <servlet-name>Editor</servlet-name>
     <servlet-class>tutorial.PoolEditorServlet</servlet-class>
  </servlet>
  <servlet-mapping>
     <servlet-name>Editor</servlet-name>
     <url-pattern>/PoolEditor</url-pattern>
   </servlet-mapping>
   <security-constraint>
       <web-resource-collection>
           <web-resource-name>Administration</web-resource-name>
           <url-pattern>/PoolEditor</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>pool-admin</role-name>
        </auth-constraint>
   </security-constraint>
   <login-config>
       <auth-method>BASIC</auth-method>
       <realm-name>Betting Pool</realm-name>
   </login-config>
</web-app>