Hi Guys, I have implemented the solution for my app the way i wanted. This is little bit tightly integrated into Struts but if am using Struts only then who is worried :-)
However, i have also looked into Contained managed security after looking at the suggestions as posted by some good guys. This seems to be pretty good solution but i will keep it as a reserver for admin operations. At Frontend, i need to have little more information in HttpSession than just Principal. Anyway, i will try to look into JAAS sometime. That seems to be quite a solution. regards Navjt Singh > | Hi List, > | > | I want to build some kind of generic login system for my app and I am > | thinking on these lines > | > | Request Flow > | ========== > | test.jsp -> TestAction -> login.jsp -> LoginAction -> test.jsp > | | > | AuthCheck > | > | Problem > | ====== > | test.jsp and login.jsp and under **different modules**. When > | TestAction.class return ActionForward for login.jsp, > | Struts generate an error "Action Not Found for /Login". [ This is action > | defined in login.jsp] > | > | Which is genuinely right from Struts perspective as request is till under > | "test" module so > | it tried to find **/Login action mapping** from that **test-config.xml** > | file. > | > | + Have someone faced any problem like this before? > | + If you think there is better solution, pls let me know. > | > | + I am thinking of going RequestDisptacher way on top of Struts > | ActionForward. Will that be OK? > | When AuthCheck returns __login failure__ , i can use request disptacher > | to forward request to login.jsp. > | > | regards > | Navjot Singh > | > | > | --------------------------------------------------------------------- > | To unsubscribe, e-mail: [EMAIL PROTECTED] > | For additional commands, e-mail: [EMAIL PROTECTED] > | > | > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

