This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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 agree. Here's the link:
subject: Authorization
It's not a secret anymore!