Re: Simple authentication/authorization with Struts 2 using annotation

2007-07-19 Thread Mahdi Milani Fard
Here is a partial code that might help. It stores the current action (secured action) and the parameters in the session: if (actionSecured && !loggedIn) { System.out.println("Redirecting to login page"); Map session = actionInvocation.getInvocationContext().getSession(); ses

Re: Simple authentication/authorization with Struts 2 using annotation

2007-07-19 Thread Viplav Kallepu
Hi, Thank you for sharing the idea. I am also working on the authorization and authentication of my application. "The authentication interceptor checks the action method for @Secured annotation and checks the session to see if the user has logged in. If not, the target page and parameters are