[jboss-user] [EJB 3.0] - Acegi integration in JBoss
niityasir@hotmail.com
do-not-reply at jboss.com
Fri Aug 31 06:04:03 EDT 2007
Dear Sir
I am facing problem in Acegi integration with JBOSS. I have successfully used acegi with servlets using Tomcat 6. In my servlets based application I used following configurations in tomcat.
<filter-name>Acegi Filter Chain Proxy</filter-name>
<filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
<init-param>
<param-name>targetClass</param-name>
<param-value>org.acegisecurity.util.FilterChainProxy</param-value>
</init-param>
<filter-mapping>
<filter-name>Acegi Filter Chain Proxy</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener-class>org.springframework.web.util.Log4jConfigList ener</listener-class>
<listener-class>org.springframework.web.context.ContextLoade rListener</listener-class>
My Jboss application is based on EJB 3.0 and JSF. I want to use same filter based Acegi security in my jboss application. But problem is in configurations. I do not know how/where to make these configurations.
Should I have to make changes in
jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\conf\web.xml ?
But this file already have following some other filters.
<filter-name>CommonHeadersFilter</filter-name>
<filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilt er</filter-class>
<init-param>
<param-name>X-Powered-By</param-name>
<param-value>Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5</param-value>
</init-param>
<filter-mapping>
<filter-name>CommonHeadersFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
I donot think that both of these filters will work at same time.
Kindly help me in this regard.
Thanks
Best Regards
Yasir
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079909#4079909
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079909
More information about the jboss-user
mailing list