This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2: how to use tomcat declarative authentication j_security_check
 
Similar Threads
EJB and Security (JAAS)
"j_security_check" Problem????
Retrieving login information
Using form based authentication and Struts
JAAS: Declarative or Programmatic Security