BPM, Workflow, and Case

 View Only
Expand all | Collapse all

Authentication for CPE java services in workflow

  • 1.  Authentication for CPE java services in workflow

    Posted Wed June 16, 2021 03:08 AM
    Hi,

    on CP4A 20.0.3, the content integration tasks cannot set the security folder of a CPE document.
    We have build a java services and use the CPE Java API.

    In my IDE the services do the job, on my local liberty server (without registry) it's successfull too.
    But when I tests the java services on Process Designer, the liberty server throws an exception : Caused by: com.filenet.api.exception.EngineRuntimeException: FNRCE0040E: E_NOT_AUTHENTICATED: The user is not authenticated. Message was: CWIMK0011E: The user registry operation could not be completed. A valid user registry was not found. Add or correct the registry definition in the server.xml file.

    So when the liberty server integrates a registry there's an authentication issue, is there configuration steps to apply ?

    Thanks for help before creating a PMR.




    ------------------------------
    Yannick Martin
    ------------------------------


  • 2.  RE: Authentication for CPE java services in workflow

    Posted Wed June 16, 2021 07:02 AM
    Hi,

    I'm answering to myself.

    Into BAW container, 2 stanzas are available. So my connection was null (no "stanza") and the EJB stanza seems to be selected.
    Setting the stanza to "FileNetP8WSI" makes the connection successfull.

    Regards

    ------------------------------
    Yannick Martin
    ------------------------------