aspose file tools*
The moose likes Servlets and the fly likes Authorization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Authorization " Watch "Authorization " New topic
Author

Authorization

JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
In a form-based login scenario, the < form-login-page > login.jsp < /form-login-page > defined in web.xml is displayed.
If the AUTHENTICATION failed, then < form-error-page > error.jsp < form-error-page > is sent to the client.
But what occurs is the authentication is ok but the AUTHORIZATION fails ? Is the same error.jsp page displayed ?
I can't see something about that in the Servlet Spec (2.2)


/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Authorization
 
Similar Threads
form-login-config
login-config question
login-config
mock test question
Obtaining Errors with form based authentication