Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6109

Incorrect TrustException constructor in AbstractSTSClient

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.13
    • Fix Version/s: 3.0.3, 2.7.14, 3.1
    • Component/s: STS
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      The TrustException constructor is incorrectly called within AbstractSTSClient.
      Next patch fixes this.

      --- src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java.orig	2014-11-19 17:49:37.964705313 +0100
      +++ src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java	2014-11-19 17:49:44.179393712 +0100
      @@ -586,7 +586,7 @@
                           client = new ClientImpl(bus, endpoint);
                       }
                   } catch (Exception ex) {
      -                throw new TrustException(LOG, "WS_MEX_ERROR", ex);
      +                throw new TrustException("WS_MEX_ERROR", LOG, ex);
                   }
               }
           }
      

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              frank.cornelis Frank Cornelis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: