Apex Listener 2.0.5
Apex 4.2.4
I have a RESTful service with a POST handler (type PL/SQL) and I have also an apex application with the database authentication schema that is requesting this RESTful service.
RESTful POST handler contains following query:
insert into sometable(id,data,create_user)
values (some_value,some_value, ?)
Is it possible to obtain current username within RESTful handlers ?
Standard functions like v('APP_USER'), APEX_CUSTOM_AUTH.GET_SESSION_ID_FROM_COOKIE are not working.
I can pass it directly via cookie as a plain text but it's too insecure. Users can easly change cookies. How to do it safety ?
Thanks in advance,
Igor