Trying to list Oracle Entitlement Server Security Modules programmatically
Hi,
I am trying to write a small test application in Java to list all of the Security Modules in an Oracle Entitlements Server instance.
I found this page, which has an incomplete code snippet using "getSecurityModules()":
I also found this page:
https://docs.oracle.com/cd/E28280_01/security.1111/e14097/distpolicies.htm#ESPSJ371
which, in 4.3.1, has a small (really small) snippet in Example 4.3:
//get the policy store and configuration manager
PolicyStore ps = ctx.getServiceInstance(PolicyStore.class);
ConfigurationManager configMgr = ps.getConfigurationManager();
However, I am having problems trying to put this information together to get a working application.