From users-return-52121-archive-asf-public=cust-asf.ponee.io@cxf.apache.org Thu Jan 18 12:32:23 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 02BBD180654 for ; Thu, 18 Jan 2018 12:32:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E586F160C36; Thu, 18 Jan 2018 11:32:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 37370160C2B for ; Thu, 18 Jan 2018 12:32:22 +0100 (CET) Received: (qmail 57517 invoked by uid 500); 18 Jan 2018 11:32:16 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 57504 invoked by uid 99); 18 Jan 2018 11:32:16 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2018 11:32:16 +0000 Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 6BCA81A00E9 for ; Thu, 18 Jan 2018 11:32:14 +0000 (UTC) Received: by mail-pf0-f172.google.com with SMTP id y5so14291245pff.13 for ; Thu, 18 Jan 2018 03:32:13 -0800 (PST) X-Gm-Message-State: AKGB3mJFNfzJVGBdBnp7+FV98PY102IYpKgH+aM05iHhOvWtLMC8aJQG g2mI400QJVa1dHAvYrtD70l15b1a4Ksd0NkP5uU= X-Google-Smtp-Source: ACJfBovCSBa3w2Nq26Up0/aLfEfXZOPb1fMgnZh/6GPYUY2FMbGLSB/ewvH6aQfF6G0Y2Q5pA5IYDMpSll1e+tCHdEA= X-Received: by 10.99.143.9 with SMTP id n9mr35814011pgd.170.1516275133116; Thu, 18 Jan 2018 03:32:13 -0800 (PST) MIME-Version: 1.0 Reply-To: coheigea@apache.org Received: by 10.236.141.133 with HTTP; Thu, 18 Jan 2018 03:32:12 -0800 (PST) In-Reply-To: <1516273945593-0.post@n5.nabble.com> References: <1516178741355-0.post@n5.nabble.com> <1516263523835-0.post@n5.nabble.com> <1516272447710-0.post@n5.nabble.com> <1516273076699-0.post@n5.nabble.com> <1516273945593-0.post@n5.nabble.com> From: Colm O hEigeartaigh Date: Thu, 18 Jan 2018 11:32:12 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Original Exception was org.apache.wss4j.common.ext.WSSecurityException: Cannot find key for alias: [devstore] To: users@cxf.apache.org Content-Type: multipart/alternative; boundary="f403045da700b0f60605630b5088" --f403045da700b0f60605630b5088 Content-Type: text/plain; charset="UTF-8" In a previous post you had: IRSIService iRSIService = RSIService.getPort(IRSIService.class); You should be able to use "iRSIService" instead of "port" in the example above. Colm. On Thu, Jan 18, 2018 at 11:12 AM, Al Grant wrote: > Ok so I have : > > > ((BindingProvider)port).getRequestContext().put(SecurityConstants.ENCRYPT_ > PROPERTIES, > "????"); > > ((BindingProvider)port).getRequestContext().put(SecurityConstants.ENCRYPT_ > USERNAME, > "????"); > > ((BindingProvider)port).getRequestContext().put( > SecurityConstants.SIGNATURE_PROPERTIES, > "client_sign.properties"); > > ((BindingProvider)port).getRequestContext().put( > SecurityConstants.SIGNATURE_USERNAME, > "signingonly"); > > ((BindingProvider)port).getRequestContext().put( > SecurityConstants.CALLBACK_HANDLER, > ClientCallbackHandler.class.getName()); > > The client_sign.properties file contains the details of the keystore file > location. > > I do not think I have a corresponding "encrypt" file. > > also the word "port" is unresolved? > > > > > -- > Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com --f403045da700b0f60605630b5088--