Skip to Main Content

Security Software

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!

OAM Authentication Policies not working

848911Mar 21 2011 — edited Mar 21 2011
Hi,

I have created some authentication policies in OAM using following process

1. Change $MW_HOME/Oracle_IDM1/oam/server/tools/policy/config/oam-policy-config.properties acc. to my db details
2. Invoke oracle.security.am.common.policy.tool.stress.PolicyStressTestDataGenerator java program to create policies

except that I gave wrong agent-hostname in the config file I was using.

After completion of this process I corrected the agent hostname and ran the java program again, I got the following error


Exception in thread "Main Thread" oracle.security.am.common.policy.admin.impl.PolicyValidationException: OAMSSA-06045: Validation Failure - an object of this type named "lrgdata-host-id1" already exists.
at oracle.security.am.common.policy.admin.impl.HostIdentifierManagerImpl.isValidWrite(HostIdentifierManagerImpl.java:372)
at oracle.security.am.common.policy.admin.impl.HostIdentifierManagerImpl.createHostIdentifier(HostIdentifierManagerImpl.java:141)
at oracle.security.am.common.policy.tool.stress.PolicyStressTestDataGenerator.loadDomainComponents(PolicyStressTestDataGenerator.java:255)
at oracle.security.am.common.policy.tool.stress.PolicyStressTestDataGenerator.loadPolicies(PolicyStressTestDataGenerator.java:233)
at oracle.security.am.common.policy.tool.stress.PolicyStressTestDataGenerator.main(PolicyStressTestDataGenerator.java:104)


which suggests that the policies it is trying to create already exist.

In the oam console it is showing all the policies I created. I tried to locate the physical file which could have information on the created policies thinking that I'll just change the agent host name manually, but I couldn't find any such file. So is there a way to create the policies again? or Is it possible to change the existing policies with the altered agent host name somehow?

If the policy information exists in the db, can you tell me the tables etc. which contain this information and how to change it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 18 2011
Added on Mar 21 2011
4 comments
305 views