Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FE5D10F8D for ; Wed, 4 Sep 2013 15:36:41 +0000 (UTC) Received: (qmail 55595 invoked by uid 500); 4 Sep 2013 15:36:41 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 55545 invoked by uid 500); 4 Sep 2013 15:36:41 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 55537 invoked by uid 99); 4 Sep 2013 15:36:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 15:36:40 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [160.92.103.80] (HELO smtp1.mail.atosorigin.com) (160.92.103.80) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 15:36:33 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp1.mail.atosorigin.com (Postfix) with ESMTP id 5905B38006 for ; Wed, 4 Sep 2013 17:36:12 +0200 (CEST) Received: from mail.awl.fr.atosorigin.com (serv-smtp-wse01.fr.atosworldline.com [160.92.103.180]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "mail.awl.fr.atosorigin.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by smtp1.mail.atosorigin.com (Postfix) with ESMTPS id 5175038002 for ; Wed, 4 Sep 2013 17:36:12 +0200 (CEST) X-ME-UUID: 20130904153612333.5175038002@smtp1.mail.atosorigin.com Received: from frspx302.fr01.awl.atosorigin.net (10.24.253.187) by frspx401.priv.atos.fr (10.24.220.7) with Microsoft SMTP Server (TLS) id 8.3.298.1; Wed, 4 Sep 2013 17:36:12 +0200 Received: from frvdx201.fr01.awl.atosorigin.net (10.16.253.37) by frspx302.fr01.awl.atosorigin.net (10.24.253.187) with Microsoft SMTP Server (TLS) id 8.3.298.1; Wed, 4 Sep 2013 17:36:11 +0200 Received: from FRVDX100.fr01.awl.atosorigin.net ([10.16.253.46]) by frvdx201.fr01.awl.atosorigin.net ([10.16.253.37]) with mapi; Wed, 4 Sep 2013 17:36:11 +0200 From: Beucher Thierry To: "dev@cxf.apache.org" Date: Wed, 4 Sep 2013 17:36:09 +0200 Subject: FEDIZ-15 patch (Support the publish of the WS-Federation Metadata document) Thread-Topic: FEDIZ-15 patch (Support the publish of the WS-Federation Metadata document) Thread-Index: Ac6pgZVCyM4A2nbbQBSNOMB22GJDBg== Message-ID: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR, en-US Content-Type: multipart/alternative; boundary="_000_DFE323F76BAF2145B84FA4E3F09930DC2760AFAF5AFRVDX100fr01a_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_DFE323F76BAF2145B84FA4E3F09930DC2760AFAF5AFRVDX100fr01a_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable HI Oli, I am currently testing your FEDIZ-15 patch and it fails in unit tests of fe= diz-idp : an issue related to file encoding IBM1252 not supported is raised= during writing of metadatas (at document signature phase) ... Running org.apache.cxf.fediz.service.idp.util.MetadataWriterTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 42.943 sec = <<< FAILURE! testWriteIDPMetadata(org.apache.cxf.fediz.service.idp.util.MetadataWriterTe= st) Time elapsed: 39.16 sec <<< ERROR! java.lang.RuntimeException: Error creating service metadata information: IB= M1252 at org.apache.cxf.fediz.service.idp.util.MetadataWriter.getMetaData(= MetadataWriter.java:209) at org.apache.cxf.fediz.service.idp.util.MetadataWriterTest.testWrit= eIDPMetadata(MetadataWriterTest.java:52) below the metadatas file to be signed : MIICwTCCAamgAwIBAgIEFKo9KjANBgkqhkiG9w0BAQsFADAR= MQ8wDQYDVQQDEwZSRUFMTUEwHhcNMTMwOTAzMjAyMjMxWhcNMjMwNzEzMjAyMjMxWjARMQ8wDQY= DVQQDEwZSRUFMTUEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCnmQKgcHaFmTG/rM= zlSP1DDVUn1AIVlUo2eBNBaOloKvyXrYT6zwd+mno1Skj9EQMntx9LvK6xLiquLvuKP0XGeWHhJ= wgG4dBB1QQ71hosrWIaClLQrNuV8d8pztSkPfVrL5SdmlqDUAlC598rGhU7ttXPKp2FF8set2QI= DSFZrRURpeAoh7aCdlySrJGBQsTGTvb4N6yF8yoxKcVBIBb62q4xS1qU10Oa+iYig3+b+vNwSzc= N5RE9Etw+nQ8q8soiwfGcVLmWjv1oDuLrx1BOqL2zXxmISlJgv2/cC3DVnPb6IOmHaEklLbod7N= q0JgD0L27s4Js+ccXtkoBcQtRxAgMBAAGjITAfMB0GA1UdDgQWBBSSn4p1eScqsNyywCH37ipMd= ZNykzANBgkqhkiG9w0BAQsFAAOCAQEAnkmNaVR3lXJWh4nOvNvzXz6vBSMbm/K4khu8mRtUWHik= bwZE72ZLCD2Bv69YhNsaAZmtH02CERUXZTbh8YXfZ0VnMh9ieTKHWpNGDOBdvfsd8jSLd4svIrP= 2vfMciS0px0Q87W4jntiQovhPuTEeOOanaG8R2eaROTONRsTQxWWGep5FqhH6Of2hL7kwEjFyLD= E/NIMHHeURlxmbwwMbnJoA8/wVOZnGOCkmnKs96DXHD+MBCboD+2UMl76GONiksAsD+LjiqZwZe= WsZCP+NDPEjXOv/7MzpiCSMLLk+AWzQAZDqpDwjys1YXREbVVFVlS+3Sob0hd0SJr/hsHl9Hw= =3D=3D https://localhost:0/fediz-idp-sts/REALMA https://localhost:8443/fediz-idp/federation A fix in MetadataWriter at line #96 solves it : writer.writeStartDocument("UTF-8","1.0"); Does it make sense to take care of various encodings ? Strangely I didn't encountered the same issue for MetadataWriter on project= 'core' side .... Thanks ________________________________ Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage e= xclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret = professionnel. Si vous recevez ce message par erreur, merci d'en avertir im= m?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouva= nt ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre= recherch?e quant au contenu de ce message. Bien que les meilleurs efforts = soient faits pour maintenir cette transmission exempte de tout virus, l'exp= ?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurai= t ?tre recherch?e pour tout dommage r?sultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely= for the addressee; it may also be privileged. If you receive this e-mail i= n error, please notify the sender immediately and destroy it. As its integr= ity cannot be secured on the Internet, the Worldline liability cannot be tr= iggered for the message content. Although the sender endeavours to maintain= a computer virus-free network, the sender does not warrant that this trans= mission is virus-free and will not be liable for any damages resulting from= any virus transmitted. --_000_DFE323F76BAF2145B84FA4E3F09930DC2760AFAF5AFRVDX100fr01a_--