Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4507

WebServiceWorkItemHandler HTTP BasicAuth support.

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • jBPM 6.2.0.CR1
    • Runtime Engine
    • None
    • 0
    • 0% 0%
    • 2018 Week 09-10, 2018 Week 11-12

    Description

      The jBPM WebServiceWorkItemHandler should support HTTP Basic Authentication.

      Because the WIH is backed by the CXF Dynamic Client, we should be able to implement something like this:

      HTTPConduit http = (HTTPConduit) client.getConduit();

      AuthorizationPolicy authPolicy = new AuthorizationPolicy();
      authPolicy.setAuthorizationType("BASIC");
      authPolicy.setUserName("ddoyle");
      authPolicy.setPassword("jboss@01");

      http.setAuthorization(authPolicy);

      We do need to find a proper way to expose this to users though.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-gps-ddoyle Duncan Doyle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: