I am using OES 11g API for performing deletion of application roles of a specific application.
Here is the sample code snippet. However you can refer the OES 11g documentation how to programatically delete OES objects using API.
//get the AppRoleManager
AppRoleManager appRoleManager = Trading.getAppRoleManager();
//delete the AppRoleEntry
appRoleManager.deleteAppRole(“TradingAppRole”, “true”);
While trying to delete the application role, I got the below error as shown in screenshot. However while using the below code snippet for retrieving the application roles of an application, it exists.
To fix this issue, I had re-distributed the policies again from OES 11g Admin console. Therefore all the objects existing in SM cache were cleared after distributing the policies. Thus while retrieving the application roles of an application, it showed proper results.
I hope this is useful.
I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc., Look @ my blog: http://talkidentity.blogspot.com