This discussion is archived
0 Replies Latest reply: Jan 4, 2013 12:00 PM by 968382 RSS

OpenSSO and ldapv3 plug-in error

968382 Newbie
Currently Being Moderated
Hi, I'm trying to get attributs for a realm using openssosdk and I'm receiving this error: Plug-in com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo does not support operation read for type realm. Oracle Documentation said LDAPv3 plugin supports read, create, edit, delete, service for realm (http://docs.oracle.com/cd/E19681-01/820-3886/gioaf/index.html). Here the debug trace on the getAttribute calls:

amIdmJAXRPCServer:01/04/2013 02:25:04:683 PM EST: Thread[service-j2ee-6,5,main]
IdRepoJAXRPCObjectImpl.static server URL http://devappb8.dev.emergis:8080
amIdm:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
In IdCachedServicesImpl.getAttributes(SSOToken, type, name, attrNames, amOrgName, amsdkDN) (id=amadmin,ou=user,dc=dev,dc=emergis, id=containerdefaulttemplaterole,ou=realm,o=nfld-ehr,ou=services,dc=dev,dc=emergis, [passwordpolicysubentry] ,o=NFLD-EHR,ou=services,dc=dev,dc=emergis , null method.
amIdm:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
IdCachedServicesImpl.getAttributes(): NO entry found in Cachefor key = id=containerdefaulttemplaterole,ou=realm,o=nfld-ehr,ou=services,dc=dev,dc=emergis. Getting all these attributes from DS: [passwordpolicysubentry]
amDelegation:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
Instantiated a DelegationEvaluator.
amDelegation:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
isAllowed() returns true for user:token.getPrincipal().getName() uid=amadmin,ou=People,dc=dev,dc=emergis for permission
DelegationPermission Object:
orgName=o=NFLD-EHR,ou=services,dc=dev,dc=emergis
serviceName=sunIdentityRepositoryService
serviceVersion=1.0
configType=application
subConfigName=realm/ContainerDefaultTemplateRole
actions=[READ]
extensions={}
amIdm:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
IdRepoPluginsCache.getIdRepoPlugins for OrgName: o=NFLD-EHR,ou=services,dc=dev,dc=emergis Op: Operation: read Type: IdType: realm
amIdm:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
IdRepoPluginsCache.getIdRepoPlugins orgName: o=NFLD-EHR,ou=services,dc=dev,dc=emergis
amIdm:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
IdRepoPluginsCache.getIdRepoPlugins retuned for OrgName: o=NFLD-EHR,ou=services,dc=dev,dc=emergis Op: Operation: read Type: IdType: realm Plugins: [com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo]
LDAPv3Repo:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
LDAPv3Repo: getAttributes 1 called : IdType: realm: ContainerDefaultTemplateRole ; attrName=[passwordpolicysubentry]
LDAPv3Repo:01/04/2013 02:25:04:684 PM EST: Thread[service-j2ee-6,5,main]
LDAPv3Repo: getAttributes 2 called: IdType: realm: ContainerDefaultTemplateRole ; attrName=[passwordpolicysubentry]
amIdm:01/04/2013 02:25:04:685 PM EST: Thread[service-j2ee-6,5,main]
WARNING: IdServicesImpl.getAttributes: Unable to read identity in the following repository com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo :: Plug-in com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo does not support operation read for type realm
amIdm:01/04/2013 02:25:04:685 PM EST: Thread[service-j2ee-6,5,main]
WARNING: idServicesImpl.getAttributes: Unable to get attributes for identity realm, ContainerDefaultTemplateRole in any configured data store
Message:Plug-in com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo does not support operation read for type realm

at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.getDN(LDAPv3Repo.java:5413)
at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.getAttributes(LDAPv3Repo.java:2105)
at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.getAttributes(LDAPv3Repo.java:2075)
at com.sun.identity.idm.server.IdServicesImpl.getAttributes(IdServicesImpl.java:678)
at com.sun.identity.idm.server.IdCachedServicesImpl.getAttributes(IdCachedServicesImpl.java:387)
at com.sun.identity.idm.server.IdRepoJAXRPCObjectImpl.getAttributes1_idrepo(IdRepoJAXRPCObjectImpl.java:272)
at com.iplanet.am.sdk.remote.DirectoryManagerIF_Tie.invoke_getAttributes1_idrepo(DirectoryManagerIF_Tie.java:1352)
at com.iplanet.am.sdk.remote.DirectoryManagerIF_Tie.processingHook(DirectoryManagerIF_Tie.java:5306)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:350)
at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:465)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points