Frank Cornelis created CXF-6109:
-----------------------------------

             Summary: Incorrect TrustException constructor in AbstractSTSClient 
                 Key: CXF-6109
                 URL: https://issues.apache.org/jira/browse/CXF-6109
             Project: CXF
          Issue Type: Bug
          Components: STS
    Affects Versions: 2.7.13
            Reporter: Frank Cornelis


The TrustException constructor is incorrectly called within AbstractSTSClient.
Next patch fixes this.
{code}
--- 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);
             }
         }
     }
{code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to