How to get code “403” error for restricted resources?

(Doc ID 1138904.1)

Last updated on DECEMBER 11, 2017

Applies to:

Oracle Weblogic Server - Version: 10.3.2 and later   [Release: and later ]
Information in this document applies to any platform.


According to the WLS10.3.x documentation for restricting Access to Resources here, if the protected resource is accessed, it will throw a challenge for authentication. 

The query here is: Instead of throwing a challenge for authentication, is it possible to show '403' error to indicate to the user that resource is not available?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms