Error Initializing User/Role API : Null..
(Doc ID 1519272.1)
Last updated on OCTOBER 17, 2023
Applies to:
Oracle Access Manager - Version 11.1.1.5.0 and laterInformation in this document applies to any platform.
Symptoms
You are trying to add the groups as part of the Authorization Policy -> Constraints. However, you are unable to perform the search on groups against OVD directory. On the other hand, OAM authentication against same OVD directory works fine.
You have tried an ldapsearch command on the group name and the group returned successfully:
$ ldapsearch -b <LDAP_BASE_DN> -h <LDAP_HOSTNAME> -p <LDAP_PORT_NUMBER> -D cn=<LDAP_SUPERUSER> "(&(objectclass=*)(cn=<LDAP_USERNAME>))" -q
Please enter bind password:
cn=<LDAP_USERNAME>,cn=Groups,ou=<LDAP_DN>
Performed 'Test Connection' with all data sources, all successful. Moreover Authentication works fine. We get this error only when we try to do search on group names from the Authorization Policy-> Constraints
AdminServer-diagnostic.log shows that for some reason OAM thinks it unable to connect to OVD store.
[2013-01-07T17:12:40.164-05:00] [AdminServer] [ERROR] [] [oracle.oam.admin.console.generic] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: USERNAME] [ecid: <ECID>] [APP: oam_admin#11.1.1.3.0] Unable to connect to the User Store. User Store may not be initialized : Error initializing User/Role API : null..[[
oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20007: Unable to connect to the User Store. User Store may not be initialized : Error initializing User/Role API : null..
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.init(IdentityProviderImpl.java:277)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.init(IdentityProviderImpl.java:210)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.getRoleList(IdentityProviderImpl.java:1089)
at oracle.security.am.engines.common.identity.provider.impl.OracleUserIdentityProvider.getRoleList(OracleUserIdentityProvider.java:617)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |