-
Nov 20th, 2005, 08:04 PM
#1
Existing filters and acegi filters
Hi All 
I'm trying to integrate acegi into my spring based web application. However, after integrating acegi into my app, my own filter seems to be not working. The acegi authentication works fine, it does the checking of username and password. After a successful log in, when it is directed to the page that I am accessing. I am getting a blank page...
Any help is appreciated
Many thanks!!
below is my web.xml:
<filter>
<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.util.FilterChainProxy</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Acegi Filter Chain Proxy</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.opensymphony.module.sitemesh.filter.Page Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>*/*.htm</url-pattern>
</filter-mapping>
<filter>
<filter-name>sessioninview</filter-name>
<filter-class>org.springframework.orm.hibernate3.support.O penSessionInViewFilter</filter-class>
<init-param>
<param-name>singleSession</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>sessioninview</filter-name>
<url-pattern>*/*.htm</url-pattern>
</filter-mapping>
<filter>
<filter-name>My Own filter mapping</filter-name>
<filter-class>myapp.filter.MySessionFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>My Own filter mapping</filter-name>
<url-pattern>*/*.htm</url-pattern>
</filter-mapping>
-
Nov 21st, 2005, 01:59 PM
#2
Any info in your logs we can use to debug? Blank page doesn't tell us much.
-Todd
-
Nov 21st, 2005, 06:41 PM
#3
Hi Todd!! Was able to solve it just now
it seems like the ordering of the filter mapping matters
many thanks for the help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules