GeeCON Prague 2014*
The moose likes Struts and the fly likes Struts2: how to use tomcat declarative authentication j_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2: how to use tomcat declarative authentication j_security_check" Watch "Struts2: how to use tomcat declarative authentication j_security_check" New topic
Author

Struts2: how to use tomcat declarative authentication j_security_check

Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
I used the blank struts WAR and try to configure it to use Tomcat's declarative authentication, j_security_check. But when I tried to login, I encountered 404 error for the action j_security_check. Is there any special configuration to be done?

Or could I not use struts for the authentication first, then after authentication use struts? If so, how could I do it?

Thanks!


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
 
 
subject: Struts2: how to use tomcat declarative authentication j_security_check