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 DC81F6DE4 for ; Sun, 10 Jul 2011 23:04:12 +0000 (UTC) Received: (qmail 46140 invoked by uid 500); 10 Jul 2011 23:04:12 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 46012 invoked by uid 500); 10 Jul 2011 23:04:11 -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 46004 invoked by uid 99); 10 Jul 2011 23:04:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jul 2011 23:04:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sberyozkin@gmail.com designates 209.85.214.41 as permitted sender) Received: from [209.85.214.41] (HELO mail-bw0-f41.google.com) (209.85.214.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jul 2011 23:04:04 +0000 Received: by bwd14 with SMTP id 14so394276bwd.0 for ; Sun, 10 Jul 2011 16:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=fyquep99qoDkW7iDtOZuN/n4HmCkFvu1squmTz8B4c4=; b=uouEw/ZvDWZCEYDqiVhFSkOuqsrTpU2r5qTv1VIcYCAQIMQmIb2hqbp4Ddczilfarx ki2HRoUh933/bomUDtbLKu63tHUmsx2bxQP2Eaxb6V7nWph9lOSX+bPBo7VydAl3xrhT T00J88KpJWUq9JCGpElrGnWPGFYHeu5h9eeho= MIME-Version: 1.0 Received: by 10.204.33.73 with SMTP id g9mr2291726bkd.171.1310339021501; Sun, 10 Jul 2011 16:03:41 -0700 (PDT) Received: by 10.204.58.81 with HTTP; Sun, 10 Jul 2011 16:03:41 -0700 (PDT) Date: Mon, 11 Jul 2011 00:03:41 +0100 Message-ID: Subject: How to initialize OpenSamlEngine on the client side From: Sergey Beryozkin To: CXF Apache Foundation Content-Type: text/plain; charset=ISO-8859-1 HI I'm seeing strange test failure on JDK 5.0 (6.0 is OK), to do with OpenSaml engine failing to initialize on the client side [1], despite the fact the execution goes via WSS4J AssertionWrapper constructor which does call OpenSAMLUtil.initSamlEngine() the first thing. I think it is a side-effect of many static factory method calls, but I'm not sure how to trace it. I don't see what special systest/ws-security/.../SamlTokenTest does in this regard, the same AssertionWrapper constructor is also being called and there seem to be nothing in the execution chain suggesting OpenSaml engine was already initialized... Any advice on how to fix this issue ? Cheers, Sergey [1] https://builds.apache.org/job/CXF-Trunk-JDK15/org.apache.cxf.systests$cxf-systests-rs-security/lastCompletedBuild/console