cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: Original Exception was org.apache.wss4j.common.ext.WSSecurityException: Cannot find key for alias: [devstore]
Date Thu, 18 Jan 2018 11:32:12 GMT
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 <bigal.nz@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message