This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using form based authentication and Struts

 
Babis Routis
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I use the standard form based authentication in a struts application?
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
form based authentication is not part of struts. It's a container-specific functionality. Tomcat for instance can be configured to use form-based authentication, with which it will redirect requests to your login form if it doesn't recognise the request as part of an authenticated session.
Doesn't matter if the request is for the struts servlet or an error - it depends on how you configure the authentication options in your appserver.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic