Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

APEX Session vs RAS Session

Mike KutzDec 14 2021

I know APEX Session and DB Sessions are not 1:1.
I'm wondering if APEX Session and RAS Sessions (xs_session for RAS Enabled Authentication Schemes) are 1:1.
Reading RAS Documentation, it seems like it should be.
I'm really trying to figure out where to initialize certain things and my Google-fu is lacking.
With VPD, you'd initialize the DB Session on every call via "Initialize Session PL/SQL Code".
With RAS, it looks like you'd initialize the RAS Session once each APEX Login within a CREATE_SESSION callback function. This includes setting initial values for attributes and static items (normal application roles) that are used for for life of session (eg emp_role in HR RAS Example). Additional, you'd reset/verify certain items each APEX call within an ATTACH_SESSION callback function (eg dynamic application roles).

This post has been answered by Christi Hanks-Oracle on Jan 6 2022
Jump to Answer
Comments
Post Details
Added on Dec 14 2021
2 comments
365 views