You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2014/11/24 12:33:12 UTC

[jira] [Resolved] (CXF-6109) Incorrect TrustException constructor in AbstractSTSClient

     [ https://issues.apache.org/jira/browse/CXF-6109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved CXF-6109.
--------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Colm O hEigeartaigh
>             Fix For: 3.1.0, 3.0.3, 2.7.14
>
>
> 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)