My Oracle Support Banner

Oracle REST Data Services Demo - Authentication (First Party) (Doc ID 2305632.1)

Last updated on FEBRUARY 09, 2023

Applies to:

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


 This is the second in a series of documents that provide a tutorial on creating ORDS based REST services for ORDS standalone.


While much of this information applies to other supported web servers, there are differences in the requirements and set up for these web servers. Where possible these differences will be noted. As a best practice, it is recommended that REST services be configured and tested in standalone ORDS prior to deploying in other supported web servers: Weblogic, Glassfish and Tomcat.

For the purpose of this series the following assumptions are made:

* All testing / set up will be done with standalone ORDS.
* Standalone has been modified to accept http requests for REST:

* A schema named testords exists and contains the EMP table.
* The REST service described <Note 2297021.1> - Oracle REST Data Services Demo - Create a REST Service: has been created and is running successfully.



To protect the web service, we need to create a role with an associated privilege, then map the privilege to the web service. For the purposes of this demo, a single role and a single privilege will be created.


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
 Set Up ORDS Roles and Privileges
 First Party Authentication (Basic Authentication) 

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