This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 2716
    
    6

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
 
Similar Threads
Restriction in a view Spring Security
Authentication/Authorization
Generated Stub and Proxy Settings !!
Form-based login in WAS 4.0.2
Struts 2: Customizing interceptor stacks