My Oracle Support Banner

Identity Not Propagated When Attaching An OAM Token Policy To The BPM TaskQueryService (Doc ID 2495224.1)

Last updated on JANUARY 16, 2019

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.2.0 version, Human workflow (11g+)

When attempting to call from SoapUI BPM TaskQueryService after the OWSM OAM Token Policy has been added to it ,
the following error occurs.

ERROR
-----------------------
<Error> <oracle.soa.services.workflow.query> <BEA-000000> <<.> exception.code:30518
exception.type: ERROR
exception.severity: 2
exception.name: Error in identity propagation.
exception.description: The user identity is not propagated to service while  workflow context or user name is null in the request.
exception.fix: Ensure that correct security policy is used. Check underlying exception. If the error persists, contact Oracle Support Services.

ORABPEL-30518

exception.code:30518
exception.type: ERROR
exception.severity: 2
exception.name: Error in identity propagation.
exception.description: The user identity is not propagated to service while  workflow context or user name is null in the request.
exception.fix: Ensure that correct security policy is used. Check underlying exception. If the error persists, contact Oracle Support Services.

      at oracle.bpel.services.workflow.verification.impl.VerificationService.createWorkflowContextFromWSRequest(VerificationService.java:1699)
      at oracle.bpel.services.workflow.query.impl.TaskQueryServiceWSIF.getWFContextFromElem(TaskQueryServiceWSIF.java:1569)
      at oracle.bpel.services.workflow.query.impl.TaskQueryServiceWSIF.getTaskDetailsByNumber(TaskQueryServiceWSIF.java:1285)
      at oracle.bpel.services.workflow.query.soap.TaskQueryServiceSOAP.getTaskDetailsByNumber(TaskQueryServiceSOAP.java:490)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at oracle.bpel.services.workflow.common.provider.WorkflowWSProvider.processMessage(WorkflowWSProvider.java:215)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1355)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1397)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessingPhaseTwo(ProviderProcessor.java:711)
      at oracle.j2ee.ws.server.WebServiceProcessor.doRequestProcessing(WebServiceProcessor.java:691)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:248)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:212)
      at oracle.j2ee.ws.server.WebServiceServlet.doService(WebServiceServlet.java:696)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:534)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:124)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:232)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:294)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:248)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3683)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3649)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
      at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2433)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2259)
      at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1692)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1652)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
      at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
>



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Attach OWSM OAM Token Policy to BPM TaskQueryService
2. Call TaskQueryService service from SoapUI
3. The error occurs


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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.