*
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 Android Security Essentials Live Lessons this week in the Android 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
Generated Stub and Proxy Settings !!
Restriction in a view Spring Security
Authentication/Authorization
Form-based login in WAS 4.0.2
Struts 2: Customizing interceptor stacks