SHARE
TWEET

Untitled

apuntesdejava Apr 16th, 2013 6,800 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app version="3.0" 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">
  3.     <session-config>
  4.         <session-timeout>
  5.             30
  6.         </session-timeout>
  7.     </session-config>
  8.     <security-constraint>
  9.         <display-name>CalculadoraConstraint</display-name>
  10.         <web-resource-collection>
  11.             <web-resource-name>CalculadoraResource</web-resource-name>
  12.             <description/>
  13.             <url-pattern>/webresources/calculadora/*</url-pattern>
  14.         </web-resource-collection>
  15.         <auth-constraint>
  16.             <description/>
  17.             <role-name>USER</role-name>
  18.             <role-name>ADMIN</role-name>
  19.         </auth-constraint>
  20.     </security-constraint>
  21.     <login-config>
  22.         <auth-method>BASIC</auth-method>
  23.         <realm-name>file</realm-name>
  24.     </login-config>
  25.     <security-role>
  26.         <description/>
  27.         <role-name>USER</role-name>
  28.     </security-role>
  29.     <security-role>
  30.         <description/>
  31.         <role-name>ADMIN</role-name>
  32.     </security-role>
  33. </web-app>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top