My favorites | Sign in
Project Home Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">

<context-param>
<param-name>t2.encoding</param-name>
<param-value>UTF-8</param-value>
</context-param>

<filter>
<filter-name>mobylet</filter-name>
<filter-class>org.mobylet.core.http.MobyletFilter</filter-class>
<init-param>
<param-name>mobylet.config.dir</param-name>
<param-value>WEB-INF/mobylet/</param-value>
</init-param>
</filter>

<filter>
<filter-name>multi</filter-name>
<filter-class>suz.lab.gae.filter.MultiDeviceFilter</filter-class>
</filter>

<filter>
<filter-name>t2</filter-name>
<filter-class>org.t2framework.t2.filter.T2Filter</filter-class>
<init-param>
<param-name>t2.rootpackage</param-name>
<param-value>suz.lab.apps.page</param-value>
</init-param>
<init-param>
<param-name>t2.container.adapter</param-name>
<param-value>org.t2framework.t2.adapter.SimpleContainerAdapter</param-value>
</init-param>
<init-param>
<param-name>t2.exclude-resources</param-name>
<param-value>txt, css, js, ico</param-value>
</init-param>
</filter>

<filter-mapping>
<filter-name>mobylet</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>multi</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>t2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

<servlet>
<servlet-name>velocity</servlet-name>
<servlet-class>org.apache.velocity.tools.view.servlet.VelocityLayoutServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>velocity</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>

<security-constraint>
<web-resource-collection>
<web-resource-name>cron</web-resource-name>
<url-pattern>/cron/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>

<security-constraint>
<web-resource-collection>
<web-resource-name>task</web-resource-name>
<url-pattern>/task/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>

</web-app>

Change log

r69 by suz...@suz-lab.com on Dec 27, 2009   Diff
"/cron/*"にセキュリティ設定
Go to: 
Sign in to write a code review

Older revisions

r45 by suz...@suz-lab.com on Dec 23, 2009   Diff
再インポート
All revisions of this file

File info

Size: 2571 bytes, 89 lines

File properties

svn:mime-type
text/plain
Powered by Google Project Hosting