This content has been marked as final. Show 3 replies
Iam trying to connect to OIM 11g externally.
I don't want to hard code my password in the code. Can I continue using
ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
env = config.getAllSettings();
tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
my_tcutilityfactory = new tcUtilityFactory(env, moSignature);
in 11gR2 as well??
Iam trying to update an J2EE app which connects to OIM externally( Deployed on the same weblogic server)
Currently I have defined my UserOperations as:
tcUserOperationsIntf = (tcUserOperationsIntf) OHandler.getUtilityFactory("SIGNATURE").getUtility("Thor.API.Operations.tcUserOperationsIntf");
Where OHandler.getUtilityFactory("SIGNATURE") is used to connect to OIM.
I want to only update the UserOperations part and was trying to see if the following is the right way to do it?
UserManager userService = (UserManager)OHandler.getUtilityFactory("SIGNATURE").getService("oracle.iam.identity.usermgmt.api.UserManager");