My Oracle Support Banner

How to get code “403” error for restricted resources? (Doc ID 1138904.1)

Last updated on OCTOBER 24, 2023

Applies to:

Oracle WebLogic Server - Version 10.3.2 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?


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.