/
_WebXmlConfig.groovy
55 lines (46 loc) · 2.07 KB
/
_WebXmlConfig.groovy
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
/**
* Application configuration file for WebXml plugin.
*/
webxml {
//========================================
// Session Timeout
//========================================
//
// uncomment to set session timeout - Be sure to specify value as an Integer
// sessionConfig.sessionTimeout = 30
//========================================
// Delegating Filter Chain
//========================================
//
// Add a 'filter chain proxy' delegater as a Filter. This will allow the application
// to define a FilterChainProxy bean that can add additional filters, such as
// an instance of org.springframework.security.web.FilterChainProxy.
// Set to true to add a filter chain delegator.
//filterChainProxyDelegator.add = true
// The name of the delegate FilterChainProxy bean. You must ensure you have added a bean
// with this name that implements FilterChainProxy to
// YOUR-APP/grails-app/conf/spring/resources.groovy.
//filterChainProxyDelegator.targetBeanName = "filterChainProxyDelegate"
// The URL pattern to which the filter will apply. Usually set to '/*' to cover all URLs.
//filterChainProxyDelegator.urlPattern = "/*"
// Set to true to add Listeners
//listener.add = true
//listener.classNames = ["org.springframework.web.context.request.RequestContextListener"]
//-------------------------------------------------
// These settings usually do not need to be changed
//-------------------------------------------------
// The name of the delegating filter.
//filterChainProxyDelegator.filterName = "filterChainProxyDelegator"
// The delegating filter proxy class.
//filterChainProxyDelegator.className = "org.springframework.web.filter.DelegatingFilterProxy"
// ------------------------------------------------
// Example for context aparameters
// ------------------------------------------------
// this example will create the following XML part
// contextparams = [port: '6001']
//
// <context-param>
// <param-name>port</param-name>
// <param-value>6001</param-value>
// </context-param>
}