Hi,
Is there a way we can instruct the webagent to issue a HTTP 403 instead of a 302 to the login page?
For example. I have an application home.jsp protected using a set of users. One of these users login to home.jsp. From the home.jsp he clicks on a link to restricted.jsp. Restricted.jsp is only available to people in a particular group. When the user goes there, this redirects him to the login page and OnAzReject rule is fired.
Is there a way I can ask the web agent to plainly issue a 403 unauthorized on OnAzReject? Instead of redirecting to the login page?
I looked at WebAppClientResponse but that needs the content type to be one of these three.
- text/*
- application/xml
- application/*+xml
Regards,
Anand.