• 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