Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-28 Thread dusty

Ah.  The reason I ask is I had a similar problem but with the updated
StrutsPrepare and StrutsExecute filters.  Spring Security modified the
request in a way that Struts was not expecting and therefore Struts could
not find what it was looking for.  You may need to step through Spring
Security and Struts and watch the request to see what changes made in Spring
Security are affecting the Struts interceptors.



dubrovsky wrote:
 
 
 dusty wrote:
 
 What is your filter order in web.xml.  Can you show your web.xml config?
 
 
 Yes, of course. I think my web.xml is all right. Here it is:
 
 display-nameInfm Client/display-name
   context-param
 param-namecontextConfigLocation/param-name
 param-value/WEB-INF/applicationContext-beans.xml
 /WEB-INF/applicationContext-security.xml/param-value
   /context-param
   filter
 filter-namespringSecurityFilterChain/filter-name

 filter-classorg.springframework.web.filter.DelegatingFilterProxy/filter-class
   /filter
   filter-mapping
 filter-namespringSecurityFilterChain/filter-name
 url-pattern/*/url-pattern
   /filter-mapping
   filter
 filter-namestruts2/filter-name

 filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class
   /filter
   filter-mapping
 filter-namestruts2/filter-name
 url-pattern/*/url-pattern
   /filter-mapping
   listener

 listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
   /listener
 
 

-- 
View this message in context: 
http://www.nabble.com/Spring-Security-method-security-with-struts2-make-all-request-params-in-action-NULL-tp21624393p21709119.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dubrovsky

I posted reply for this problem in Spring community forum. Who is interested
in, please follow the link - 
http://forum.springsource.org/showthread.php?t=66381
http://forum.springsource.org/showthread.php?t=66381 

-- 
View this message in context: 
http://www.nabble.com/Spring-Security-method-security-with-struts2-make-all-request-params-in-action-NULL-tp21624393p21681651.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dusty

What is your filter order in web.xml.  Can you show your web.xml config?



dubrovsky wrote:
 
 I posted reply for this problem in Spring community forum. Who is
 interested in, please follow the link - 
 http://forum.springsource.org/showthread.php?t=66381
 http://forum.springsource.org/showthread.php?t=66381 
 
 

-- 
View this message in context: 
http://www.nabble.com/Spring-Security-method-security-with-struts2-make-all-request-params-in-action-NULL-tp21624393p2179.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dubrovsky


dusty wrote:
 
 What is your filter order in web.xml.  Can you show your web.xml config?
 

Yes, of course. I think my web.xml is all right. Here it is:

display-nameInfm Client/display-name
  context-param
param-namecontextConfigLocation/param-name
param-value/WEB-INF/applicationContext-beans.xml
/WEB-INF/applicationContext-security.xml/param-value
  /context-param
  filter
filter-namespringSecurityFilterChain/filter-name
   
filter-classorg.springframework.web.filter.DelegatingFilterProxy/filter-class
  /filter
  filter-mapping
filter-namespringSecurityFilterChain/filter-name
url-pattern/*/url-pattern
  /filter-mapping
  filter
filter-namestruts2/filter-name
   
filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class
  /filter
  filter-mapping
filter-namestruts2/filter-name
url-pattern/*/url-pattern
  /filter-mapping
  listener
   
listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
  /listener

-- 
View this message in context: 
http://www.nabble.com/Spring-Security-method-security-with-struts2-make-all-request-params-in-action-NULL-tp21624393p21700532.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Spring Security method security with struts2 make all request params in action NULL

2009-01-23 Thread dubrovsky

I need to use method security in my Struts2 application. It works as I want -
deny user with no permission and allow access when user has proper one.
But when user with granted access get into secured method which is the
method of Struts action, all request params there are set to NULL.
Please, help me to resolve the issue, if anybody already occured it. Or may
be someone could share his knowledge how to properly configure Struts2
application to use Spring Secure method security. 
-- 
View this message in context: 
http://www.nabble.com/Spring-Security-method-security-with-struts2-make-all-request-params-in-action-NULL-tp21624393p21624393.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org