0 Replies Latest reply: Dec 21, 2012 2:23 PM by 894167 RSS

    BPEL workflow causing access denied error

      So I'm trying to create a new IWorkflowContext using the following code:

      IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(properties, null);
      ITaskQueryService service = client.getTaskQueryService();
      IWorkflowContext context = service.authenticate(USER_NAME, PASSWORD, null);

      And I'm getting back this error:

      oracle.bpel.services.workflow.client.WorkflowServiceClientException: oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.xml.ws.WebServiceException: java.security.AccessControlException: access denied (oracle.security.jps.JpsPermission IdentityAssertion)

      I am positive that I'm using the correct username and password. The catch is, it was working when I was using OIM R1, but stopped working once I switched to R2. Is there something I'm missing in the transition to R2 that is making it so I can't create this connection properly? If it's any help, I'm using Weblogic