| 1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|---|
| 2 |
|
|---|
| 3 |
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" |
|---|
| 4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|---|
| 5 |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee |
|---|
| 6 |
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" |
|---|
| 7 |
version="2.4"> |
|---|
| 8 |
<display-name>Bedework user caldav</display-name> |
|---|
| 9 |
|
|---|
| 10 |
<context-param> |
|---|
| 11 |
<param-name>bwappname</param-name> |
|---|
| 12 |
<param-value>@BW-APP-NAME@</param-value> |
|---|
| 13 |
</context-param> |
|---|
| 14 |
|
|---|
| 15 |
<listener> |
|---|
| 16 |
<listener-class>edu.rpi.sss.util.jsp.SessionListener</listener-class> |
|---|
| 17 |
</listener> |
|---|
| 18 |
|
|---|
| 19 |
<servlet> |
|---|
| 20 |
<servlet-name>action</servlet-name> |
|---|
| 21 |
<servlet-class> |
|---|
| 22 |
edu.rpi.cct.uwcal.caldav.CaldavBWServlet |
|---|
| 23 |
</servlet-class> |
|---|
| 24 |
<init-param> |
|---|
| 25 |
<param-name>application</param-name> |
|---|
| 26 |
<param-value>servlet</param-value> |
|---|
| 27 |
</init-param> |
|---|
| 28 |
<init-param> |
|---|
| 29 |
<param-name>dumpContent</param-name> |
|---|
| 30 |
<param-value>true</param-value> |
|---|
| 31 |
</init-param> |
|---|
| 32 |
<init-param> |
|---|
| 33 |
<param-name>debug</param-name> |
|---|
| 34 |
<param-value>@RPI-DEBUG@</param-value> |
|---|
| 35 |
</init-param> |
|---|
| 36 |
<load-on-startup>1</load-on-startup> |
|---|
| 37 |
</servlet> |
|---|
| 38 |
|
|---|
| 39 |
<servlet-mapping> |
|---|
| 40 |
<servlet-name>action</servlet-name> |
|---|
| 41 |
<url-pattern>/</url-pattern> |
|---|
| 42 |
</servlet-mapping> |
|---|
| 43 |
|
|---|
| 44 |
<session-config> |
|---|
| 45 |
<session-timeout>30</session-timeout> |
|---|
| 46 |
</session-config> |
|---|
| 47 |
|
|---|
| 48 |
<!-- JDBC DataSources (java:comp/env/jdbc) --> |
|---|
| 49 |
<resource-ref> |
|---|
| 50 |
<description>The calendar DS</description> |
|---|
| 51 |
<res-ref-name>jdbc/calDB</res-ref-name> |
|---|
| 52 |
<res-type>javax.sql.DataSource</res-type> |
|---|
| 53 |
<res-auth>Container</res-auth> |
|---|
| 54 |
</resource-ref> |
|---|
| 55 |
|
|---|
| 56 |
<!-- The role name of * below may be jetty specific. |
|---|
| 57 |
Supposed to give access to any authenticated user --> |
|---|
| 58 |
<security-constraint> |
|---|
| 59 |
<web-resource-collection> |
|---|
| 60 |
<web-resource-name>UWCal</web-resource-name> |
|---|
| 61 |
<description>UWCal user</description> |
|---|
| 62 |
<url-pattern>/*</url-pattern> |
|---|
| 63 |
</web-resource-collection> |
|---|
| 64 |
<auth-constraint> |
|---|
| 65 |
<role-name>*</role-name> |
|---|
| 66 |
</auth-constraint> |
|---|
| 67 |
<user-data-constraint> |
|---|
| 68 |
<description>no description</description> |
|---|
| 69 |
<transport-guarantee>NONE</transport-guarantee> |
|---|
| 70 |
</user-data-constraint> |
|---|
| 71 |
</security-constraint> |
|---|
| 72 |
|
|---|
| 73 |
<login-config> |
|---|
| 74 |
<auth-method>BASIC</auth-method> |
|---|
| 75 |
<realm-name>rpiLdap</realm-name> |
|---|
| 76 |
</login-config> |
|---|
| 77 |
|
|---|
| 78 |
<!-- Insert ejb-ref here --> |
|---|
| 79 |
</web-app> |
|---|