comparison client/digitallibrary/WEB-INF/web.xml @ 749:109cd6fbec49 jquery

clean up of web.xml (not sure about authentication roles)
author robcast
date Sat, 05 Feb 2011 15:59:31 +0100
parents e758a49258e8
children 587c90bc5976
comparison
equal deleted inserted replaced
748:4b9349765b9c 749:109cd6fbec49
64 </description> 64 </description>
65 <servlet-class> 65 <servlet-class>
66 digilib.servlet.PDFCache 66 digilib.servlet.PDFCache
67 </servlet-class> 67 </servlet-class>
68 </servlet> 68 </servlet>
69 <!-- We want to mess around with the default JSP servlet... -->
70 <servlet>
71 <servlet-name>
72 doc-jsp
73 </servlet-name>
74 <servlet-class>
75 org.apache.jasper.servlet.JspServlet
76 </servlet-class>
77 <!-- parameters to the JSP servlet -->
78 <init-param>
79 <param-name>
80 logVerbosityLevel
81 </param-name>
82 <param-value>
83 WARNING
84 </param-value>
85 </init-param>
86 <load-on-startup>
87 3
88 </load-on-startup>
89 </servlet>
90 <!-- The mapping for the Scaler servlet --> 69 <!-- The mapping for the Scaler servlet -->
91 <servlet-mapping> 70 <servlet-mapping>
92 <servlet-name> 71 <servlet-name>
93 Scaler 72 Scaler
94 </servlet-name> 73 </servlet-name>
136 </servlet-name> 115 </servlet-name>
137 <url-pattern> 116 <url-pattern>
138 /authenticated/servlet/PDFCache/* 117 /authenticated/servlet/PDFCache/*
139 </url-pattern> 118 </url-pattern>
140 </servlet-mapping> 119 </servlet-mapping>
141 <!-- The mapping for the JSP servlet -->
142 <servlet-mapping>
143 <servlet-name>
144 doc-jsp
145 </servlet-name>
146 <url-pattern>
147 *.jsp
148 </url-pattern>
149 </servlet-mapping>
150 <!-- region for authenticated access --> 120 <!-- region for authenticated access -->
151 <security-constraint> 121 <security-constraint>
152 <web-resource-collection> 122 <web-resource-collection>
153 <web-resource-name> 123 <web-resource-name>
154 Authenticated Digilib 124 Authenticated Digilib
156 <url-pattern> 126 <url-pattern>
157 /authenticated/* 127 /authenticated/*
158 </url-pattern> 128 </url-pattern>
159 </web-resource-collection> 129 </web-resource-collection>
160 <!-- we need a default user --> 130 <!-- we need a default user -->
161 <auth-constraint> 131 <!-- <auth-constraint>
162 <role-name> 132 <role-name>
163 user 133 user
164 </role-name> 134 </role-name>
165 </auth-constraint> 135 </auth-constraint> -->
166 </security-constraint> 136 </security-constraint>
167 <login-config> 137 <login-config>
168 <!-- 138 <!--
169 <auth-method>BASIC</auth-method> 139 <auth-method>BASIC</auth-method>
170 <realm-name>digilib</realm-name> 140 <realm-name>digilib</realm-name>