Alberto A. Flores
Mon, 30 Jun 2008 06:12:39 -0700
JerryK wrote:
I was able to get this working with Acegi, by setting the Dispatcher property in web.xml <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>INCLUDE</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping> But, now when i try this with Spring Security 2.0.1, i am facing the same problem as you have described here. Have you found any solution so far? Alberto A. Flores wrote:Folks,My understanding is that Spring Security does not secure resources on *forwards* (I believe tiles2 do forward/chaining). In an application using Struts2, Spring and Tiles2, these forwards work just fine. Has anyone had success using these three frameworks together using Spring Security? I tried it today and It turned out that the security tag (http://www.springframework/security/tags/):<security:authorization property="principal.username"/> never fetches anything. Furthermore, the code: SecurityContextHolder.getContext().getAuthentication()returns null (in the forwarded jsp page). Has anyone know what to do in this case? I'm beginning to think I can not use Spring Security at all.Regards, -- Alberto A. Flores http://www.linkedin.com/in/aflores --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Alberto A. Flores http://www.linkedin.com/in/aflores
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]