Skip to Main Content

Java Development Tools

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!

Implementing access restriction in ADF BC REST services (user login via SSO)

3230840Aug 30 2018

Application:Oracle JET 5.0.0 with ADF BC (12c) for back end REST services.

We also have some Java Jersey based REST services.

Authentication - We are implementing SSO using OHS-WebGate.

Problem:

Once user logs in to SSO page the request headers have useful information which we can use to get the user role from database.

We have implemented the role based services check in Java Jersey REST services with the help of tutorial mentioned https://howtodoinjava.com/jersey/jersey-rest-security/

Is it possible to achieve same in ADF BC like writing a filter in which we can get the target resource roles (defined in JDeveloper --- Application -> Secure -> Application Roles and Grants) We can use this to compare with user roles.

ADF BC is relatively new to us  and we need guidance resolving this problem. 

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2018
Added on Aug 30 2018
0 comments
130 views