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: renew sts token
Date Tue, 27 Jan 2015 15:34:18 GMT
Could you try with a more recent version of CXF? There have been a bunch of
issues fixed in relation to renewing tokens since the 2.7.7 release.

Colm.

On Tue, Jan 27, 2015 at 3:26 PM, Laci Gaspar <lacigas@gmail.com> wrote:

> Hi
> We are using an sts (cxf 2.7.7) to issue saml 2 tokens for our webservices.
>
> Our WS Clients are instantiated by spring. Something like this:
>
>         SpringBusFactory bf = new SpringBusFactory();
>         URL busFile = new ClassPathResource("wssec-client.xml").getURL();
>
>         Bus bus = bf.createBus(busFile.toString());
>         SpringBusFactory.setDefaultBus(bus);
>         SpringBusFactory.setThreadDefaultBus(bus);
>
>         Service service = Service.create(wsdlURL, SERVICE_NAME);
>         while (true) {
>             Greeter port = service.getPort(PORT_NAME, Greeter.class);
>         }
>
>
> After the token expires I receive an exception calling the WS. Can anybody
> please help me with how I renew the token after it expires?
>
> Any help is most appreciated.
>
> Thanks,
> Laci
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

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