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!

retrieving users and roles from ADF Security Policy Store

837773Apr 11 2011 — edited Apr 18 2011
Hi All,

I have implemented ADF Security in my application, i have created custom roles and user in that. I have three jspx file in which one is login page where user can login and depending upon there role, they can redirected to the other jspx file... Now my problem is how to retrieving users and roles from ADF Security Policy programmatically . If i am using < ADFContext.getCurrent().getSecurityContext().getUserRoles() >, then i am getting per-defined role i.e anonymous-role,test-all etc. I am not able to fetch my custom roles which i have created.
Please any one can let me out from that.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2011
Added on Apr 11 2011
4 comments
915 views