Troubleshooting Database Authentication For Mod_plsql Applications Feature on ORDS 18.1+

(Doc ID 2409263.1)

Last updated on JUNE 20, 2018

Applies to:

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

Symptoms

ORDS 18.1.1 and above.

When enabling the new feature to use database authentication, ORDS does not ask for database credentials.

Expected behavior: Get a login screen asking for database credentials.

Steps
The issue can be reproduced at will with the following steps:

On an  already working ORDS installation for accessing only plsql procedures (not apex) configure a new database and URL mapping:
1.) $java -jar pls.war setup --database db_auth_test                      << pls is a renamed ords.war
2.) $java -jar pls.war map-url --type base-path /db_auth_test
3.) $java -jar pls.war set-property jdbc.auth.enabled true                    <<<<<<<

Changes

 Trying to use Database Authentication for existing mod_plsqp procedures, according to the instructions included in the ORDS distribution under: </path/to/ords>/examples/db_auth.

Cause

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