Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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


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="" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Authorization
It's not a secret anymore!