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

Incorrect TrustException constructor in AbstractSTSClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.13
    • 3.0.3, 2.7.14, 3.1
    • STS
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: