Has anyone implement Acegi Security with Struts 2 yet?

I'm working on it and just wondering if the way I'm doing it is bad or not. 
Basically I've read through  abit of docs and looked at many examples and they 
are force the filter to direct to a login.jsp form which submits to 
/j_security_check or /j_acegi_security_check (what is the difference by the 
way?)

I like to keep everything managed through the Struts 2 controller so I set up 
my Acegi filter to forward to "/inputLogin.do" (my Struts 2 LoginAction) which 
simply provides the login form with j_username, j_password etc etc.

The question is when submitting this form on the action do I use 
RequestDispatcher to push a login submission to /j_security_check ?

Would this work or are there any serious flaws in this process? J

Regards,
Paul

Reply via email to