Handling session with Struts 2 and Spring security 3

1.7k Views Asked by At

I am trying to integrate Struts 2 and Spring security 3. I don't understand how to handle session, with both.Is there a standard way?

I know of struts session built in session handling, ActionContext

eg

Map session = ActionContext.getContext().getSession();
session.put("userIdx","xxxxx");

But not how to use spring security along with it.

There are lots of Spring MVC tutorials on using Spring Security 3, but not a lot on Struts 2 and Spring Security 3. Do you know of any good tutorials? Or would I be better using Spring MVC?

0

There are 0 best solutions below