Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3133

How to customise credentials when connecting to controller using spring?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 7.8.0.GA
    • Business Central
    • Red Hat Process Automation Manager 7.8.0

      Spring Boot application

    • Hide
      1. Download and unzip the reproducer
      2. Install the `business-application-model`
      3. Import and deploy the `business-application-kjar` in the RHPAM
      4. Change the properties in the standalone file to use the username and password like this: username=anton password=password1!
      5. Run the spring-boot project`business-application-service-2`
      6. Check the error returned: "s.c.w.c.WebSocketKieServerControllerImpl : Exception encountered while syncing with controller at ws://localhost:8080/business-central/websocket/controller/sboot2 error The HTTP request to initiate the WebSocket connection failed"
      7. Change the standalone properties and application config to use the default username and password: username=kieserver password=kieserver1!
      8. Run the spring application again.
      9. The connection is established.
      Show
      Download and unzip the reproducer Install the `business-application-model` Import and deploy the `business-application-kjar` in the RHPAM Change the properties in the standalone file to use the username and password like this: username=anton password=password1! Run the spring-boot project`business-application-service-2` Check the error returned: "s.c.w.c.WebSocketKieServerControllerImpl : Exception encountered while syncing with controller at ws://localhost:8080/business-central/websocket/controller/sboot2 error The HTTP request to initiate the WebSocket connection failed" Change the standalone properties and application config to use the default username and password: username=kieserver password=kieserver1! Run the spring application again. The connection is established.

    Description

      When running a spring boot application we can connect to kie-server only using the default username and password (kieserver/kieserver1!). If we change the username and password in the spring application, even changing the properties `<property name="org.kie.server.user" value="anton"/>` and `<property name="org.kie.server.pwd" value="password1!"/>` in the standalone file, the connection can't be established.

      Attachments

        Activity

          People

            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            rhn-support-roribeiro Rodrigo Ribeiro (Inactive)
            Barbora Siskova Barbora Siskova
            Barbora Siskova Barbora Siskova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: