|
@@ -31,86 +31,17 @@
|
|
|
<param-value>/WEB-INF/classes/log4j.properties</param-value>
|
|
|
</context-param>
|
|
|
|
|
|
- <!-- The <filter-mapping> to this filter is disabled by default -->
|
|
|
<filter>
|
|
|
- <filter-name>Acegi Channel Processing Filter</filter-name>
|
|
|
+ <filter-name>Acegi Filter Chain Proxy</filter-name>
|
|
|
<filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
|
|
|
<init-param>
|
|
|
<param-name>targetClass</param-name>
|
|
|
- <param-value>net.sf.acegisecurity.securechannel.ChannelProcessingFilter</param-value>
|
|
|
+ <param-value>net.sf.acegisecurity.util.FilterChainProxy</param-value>
|
|
|
</init-param>
|
|
|
- </filter>
|
|
|
+ </filter>
|
|
|
|
|
|
- <!-- Responds to HTTP POSTs to j_acegi_security_check URI -->
|
|
|
- <filter>
|
|
|
- <filter-name>Acegi Authentication Processing Filter</filter-name>
|
|
|
- <filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
|
|
|
- <init-param>
|
|
|
- <param-name>targetClass</param-name>
|
|
|
- <param-value>net.sf.acegisecurity.ui.webapp.AuthenticationProcessingFilter</param-value>
|
|
|
- </init-param>
|
|
|
- </filter>
|
|
|
-
|
|
|
- <!-- Responds to HTTP requests with a BASIC (RFC 1945) authentication header -->
|
|
|
- <filter>
|
|
|
- <filter-name>Acegi HTTP BASIC Authorization Filter</filter-name>
|
|
|
- <filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
|
|
|
- <init-param>
|
|
|
- <param-name>targetClass</param-name>
|
|
|
- <param-value>net.sf.acegisecurity.ui.basicauth.BasicProcessingFilter</param-value>
|
|
|
- </init-param>
|
|
|
- </filter>
|
|
|
-
|
|
|
- <!-- Obtains Authentication from HttpSession attribute, puts it into
|
|
|
- ContextHolder for request duration, proceeds with request, then
|
|
|
- copies Authentication from ContextHolder back into HttpSession -->
|
|
|
- <filter>
|
|
|
- <filter-name>Acegi Security System for Spring HttpSession Integration Filter</filter-name>
|
|
|
- <filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
|
|
|
- <init-param>
|
|
|
- <param-name>targetClass</param-name>
|
|
|
- <param-value>net.sf.acegisecurity.ui.webapp.HttpSessionIntegrationFilter</param-value>
|
|
|
- </init-param>
|
|
|
- </filter>
|
|
|
-
|
|
|
- <!-- Provides HTTP request URL security, and also catches
|
|
|
- AcegiSecurityExceptions and sends 403 errors (if access denied)
|
|
|
- or commences an authentication mechanism as appropriate -->
|
|
|
- <filter>
|
|
|
- <filter-name>Acegi HTTP Request Security Filter</filter-name>
|
|
|
- <filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
|
|
|
- <init-param>
|
|
|
- <param-name>targetClass</param-name>
|
|
|
- <param-value>net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter</param-value>
|
|
|
- </init-param>
|
|
|
- </filter>
|
|
|
-
|
|
|
- <!-- Remove the comments from the following <filter-mapping> if you'd
|
|
|
- like to ensure secure URLs are only available over HTTPS -->
|
|
|
- <!--
|
|
|
<filter-mapping>
|
|
|
- <filter-name>Acegi Channel Processing Filter</filter-name>
|
|
|
- <url-pattern>/*</url-pattern>
|
|
|
- </filter-mapping>
|
|
|
- -->
|
|
|
-
|
|
|
- <filter-mapping>
|
|
|
- <filter-name>Acegi Authentication Processing Filter</filter-name>
|
|
|
- <url-pattern>/*</url-pattern>
|
|
|
- </filter-mapping>
|
|
|
-
|
|
|
- <filter-mapping>
|
|
|
- <filter-name>Acegi HTTP BASIC Authorization Filter</filter-name>
|
|
|
- <url-pattern>/*</url-pattern>
|
|
|
- </filter-mapping>
|
|
|
-
|
|
|
- <filter-mapping>
|
|
|
- <filter-name>Acegi Security System for Spring HttpSession Integration Filter</filter-name>
|
|
|
- <url-pattern>/*</url-pattern>
|
|
|
- </filter-mapping>
|
|
|
-
|
|
|
- <filter-mapping>
|
|
|
- <filter-name>Acegi HTTP Request Security Filter</filter-name>
|
|
|
+ <filter-name>Acegi Filter Chain Proxy</filter-name>
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
</filter-mapping>
|
|
|
|
|
@@ -123,11 +54,9 @@
|
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
|
</listener>
|
|
|
|
|
|
- <!--
|
|
|
- <listener>
|
|
|
+ <listener>
|
|
|
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
|
|
|
</listener>
|
|
|
- -->
|
|
|
|
|
|
<!--
|
|
|
- Provides core MVC application controller. See contacts-servlet.xml.
|