Home Learn the Basics View Content Add Content Create Pages Build Portlets Administer Page Groups Administer the Portal Try the Hands-On Exercises
Home
Home
Previous PageGo to page 1 of 8Go to page 2 of 8Go to page 3 of 8Go to page 4 of 8Current page 5 of 8Go to page 6 of 8Go to page 7 of 8Go to page 8 of 8Next Page
 

 

Test user authentication against the database

Now we will test our configuration by authenticating to the database using a user identity in the OID user realm.

Login to sqlplus using a user identity in the OID user realm.

Example:

# sqlplus nlewis/welcome1

Verify the user authentication with the following command.

SQL> select user from dual;

This command shows you the database schema user used to connect to the database.

The next command shows you the user context in OID that was used to connect to the database.

SQL> select sys_context ('userenv' , 'external_name') from dual;

This command should show the external user name that was used to connect to the database.

Watch a viewlet to see how its done.

Oracle Logo Next Page