My Oracle Support Banner

ORDS 22.1 : 401 Unauthorized Error Basic Authentication Not Working With Tomcat (Doc ID 2880857.1)

Last updated on FEBRUARY 22, 2025

Applies to:

Oracle REST Data Services - Version 22.1 and later
Information in this document applies to any platform.

Symptoms

On : 22.1 version, All Issues

Basic authentication is not working with ORDS 22.1 when Tomcat is used as webserver

Create a user with the “RESTful Services” role:

using following command :

Next, protect the module with privilege

Created a Privilege called Test with the role “RESTful Services” and protected the module with that privilege.

Then try to access the API using basic Authentication with the username and password created :



ERROR
-----------------------
401 unauthorized error

Cause

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
Symptoms
Cause
Solution
References


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