com.oracle.endeca.pdi.crypto.CredentialManagerCSF$InternalCryptoException: java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=com.oracle.endeca.pdi.key,keyName=EID_APP_CRED read)

Oracle Community | 2708260 | 2 years ago
  1. 0

    Create a library of data source via JDBC in Studio

    Oracle Community | 2 years ago | 2708260
    com.oracle.endeca.pdi.crypto.CredentialManagerCSF$InternalCryptoException: java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=com.oracle.endeca.pdi.key,keyName=EID_APP_CRED read)

    Root Cause Analysis

    1. com.oracle.endeca.pdi.crypto.CredentialManagerCSF$InternalCryptoException

      java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=com.oracle.endeca.pdi.key,keyName=EID_APP_CRED read)

      at com.oracle.endeca.pdi.crypto.CredentialManagerCSF$2.run()
    2. com.oracle.endeca
      CredentialManagerCSF$2.run
      1. com.oracle.endeca.pdi.crypto.CredentialManagerCSF$2.run(CredentialManagerCSF.java:70)
      2. com.oracle.endeca.pdi.crypto.CredentialManagerCSF$2.run(CredentialManagerCSF.java:62)
      2 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. com.oracle.endeca
      JdbcOperationsEjb.setDataSource
      1. com.oracle.endeca.pdi.crypto.CredentialManagerCSF.getCredential(CredentialManagerCSF.java:62)
      2. com.oracle.endeca.pdi.crypto.CredentialManagerCSF.getKeyCredential(CredentialManagerCSF.java:109)
      3. com.oracle.endeca.pdi.crypto.CryptoUtil.getOrCreateSystemKey(CryptoUtil.java:38)
      4. com.oracle.endeca.pdi.crypto.CryptoUtil.encryptString(CryptoUtil.java:22)
      5. com.oracle.endeca.pdi.bean.ps.DataSourceEntity.setUserName(DataSourceEntity.java:149)
      6. com.oracle.endeca.pdi.bean.ps.DataSourceEntity.ofJdbcBaseConnection(DataSourceEntity.java:188)
      7. com.oracle.endeca.pdi.bean.ps.DataSourceEntity.ofJdbc(DataSourceEntity.java:195)
      8. com.oracle.endeca.pdi.workflow.operations.jdbc.JdbcOperationsEjb.setDataSource(JdbcOperationsEjb.java:75)
      8 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. com.bea.core
      ReflectiveMethodInvocation.proceed
      1. com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      6 frames
    7. com.oracle.pitchfork
      MethodInvocationVisitorImpl.visit
      1. com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
      1 frame
    8. weblogic.ejb.container
      EnvironmentInterceptorCallbackImpl.callback
      1. weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      1 frame
    9. com.oracle.pitchfork
      EnvironmentInterceptor.invoke
      1. com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
      1 frame
    10. com.bea.core
      JdkDynamicAopProxy.invoke
      1. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      7. com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      7 frames
    11. com.sun.proxy
      $Proxy143.setDataSource
      1. com.sun.proxy.$Proxy143.setDataSource(Unknown Source)
      1 frame
    12. com.oracle.endeca
      JdbcOperationsEjb_mxvbk0_JdbcOperationsImpl.__WL_invoke
      1. com.oracle.endeca.pdi.workflow.operations.jdbc.JdbcOperationsEjb_mxvbk0_JdbcOperationsImpl.__WL_invoke(Unknown Source)
      1 frame
    13. weblogic.ejb.container
      SessionLocalMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
      1 frame
    14. com.oracle.endeca
      CoreImpl.setDataSource
      1. com.oracle.endeca.pdi.workflow.operations.jdbc.JdbcOperationsEjb_mxvbk0_JdbcOperationsImpl.setDataSource(Unknown Source)
      2. com.oracle.endeca.pdi.service.core.CoreImpl.setDataSource(CoreImpl.java:328)
      2 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    16. weblogic.wsee.jaxws
      WLSInstanceResolver$WLSInvoker.invoke
      1. weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:92)
      2. weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:74)
      2 frames
    17. JAX-WS RI Runtime Bundle
      ServletAdapter.handle
      1. com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:151)
      2. com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:268)
      3. com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
      4. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
      5. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
      6. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
      7. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
      8. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:403)
      9. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:539)
      10. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:253)
      11. com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
      11 frames
    18. weblogic.wsee.jaxws
      HttpServletAdapter$AuthorizedInvoke.run
      1. weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:171)
      2. weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
      2 frames
    19. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    20. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      1 frame
    21. weblogic.wsee.util
      ServerSecurityHelper.authenticatedInvoke
      1. weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
      1 frame
    22. weblogic.wsee.jaxws
      JAXWSServlet.doRequest
      1. weblogic.wsee.jaxws.HttpServletAdapter$3.run(HttpServletAdapter.java:311)
      2. weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:336)
      3. weblogic.wsee.jaxws.JAXWSServlet.doRequest(JAXWSServlet.java:99)
      3 frames
    23. Atmosphere weblogic
      AbstractAsyncServlet.service
      1. weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
      1 frame
    24. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    25. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    26. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      1 frame
    27. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    28. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    29. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    30. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      1 frame
    31. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      3 frames
    32. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    33. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    34. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      3 frames
    35. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames