Hello everybody,
this is a followup to this thread Apply Authentication on RESTful (GET, POST) resource handlers .
Please, does anybody know how invoke a REST service that requires a privilege? I created a showcase on apex.oracle.com
workspace: testing
user: test (workspace admin)
pwd: test
There is a REST service "secured_emp" that requires a privilege. I created a Privilege (secemp_priv), secemp_svc_caller group and my app user test is a member of the secemp_svc_caller.
Then I created an application Application 105217 - sec_emp and in the shared components there is a web service reference to my protected endpoint. Then I created a page 2 based on this web service reference and I'm able to invoke the service until I secure it by assigning Required Privilege.
Please, is anybody able to tell me what I'm missing and make it running? I'm getting 401 Unauthorized no matter what I try.
Thanks a lot,
Pavel