retrieving users and roles from ADF Security Policy Store
837773Apr 11 2011 — edited Apr 18 2011Hi 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.