Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAAS - security - Error page

 
alan kent
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jboss-3.2.1_tomcat-4.1.24 and I am using JAAS authentication
In web-xml, when an user is not authorized to access some page, I am using the following code

<web-app>
...
<error-page>
<error-code>403</error-code>
<location>/NotAuthorized.jsp</location>
</error-page>
...
</web-app>

But the problem is that it doesn't work because it still shows the default error page. It should redirect to the page "NotAutorized.jsp". Does somebody know if it works in tomcat ??? Or is there another way to override the custom error page ???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!