File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Redirect to custom access denied page on Http form authorization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Redirect to custom access denied page on Http form authorization" Watch "Redirect to custom access denied page on Http form authorization" New topic
Author

Redirect to custom access denied page on Http form authorization

Roshan Lobo
Greenhorn

Joined: Aug 21, 2011
Posts: 3
Hi All,

I am using form http authentication and authorization to secure my resources. My authorization is configured in web.xml. I wanted to know if i can redirect to my custom access denied page whenever an unauthorized user tried to access a secured resource>

Thanks in advance,
Roshan....
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2783
    
    9

I guess you can based on the error code, refer to error page in web.xml.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirect to custom access denied page on Http form authorization