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!

How to programmatically map Application Roles to Enterprise User Groups

James.TranJun 8 2014 — edited Jun 8 2014

From what I understand, in ADF applications, if we use container-security, both `Application Roles` and all authorisation rules based on these roles are created during design-time.


After the application has been deployed, an admin will have to log in to the admin console of an application server like WebLogic to manually map the created `Application Roles` to some `Enterprise User Groups` or `Users` from an identity store.


I have a requirement such that roles need to be created dynamically at run-time. Based on my understanding above, `Application Roles` cannot be created at run-time. Hence, I'm looking for a way to programmatically create `Enterprise User Groups` and then programmatically map them to the defined `Application Roles`.

At the moment, I still don't know if what I want to do is feasible. I skimmed through a lot of Oracle documentation but all I saw are about manual configuration. I'd be very grateful if someone could provide me with a right direction to investigate further :).


If it's relevant at all, I'm using JDev 11g Release 1.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2014
Added on Jun 8 2014
3 comments
1,859 views