Hello Andrew,

I'm using org.jclouds.openstack.swift.v1.SwiftApi with a v2 auth endpoint.  I 
don't have an exception output text offhand (logs have been rotated out) but 
the message specifically indicated auth token expiry.

Daniel Hsueh
mailto:[email protected]

-----Original Message-----
From: Andrew Phillips [mailto:[email protected]] 
Sent: August 19, 2014 1:51 PM
To: [email protected]
Subject: Re: JClouds BlobStore re-authentication when auth token expires

> I've done some google searches and haven't found much information on  
>  this -- is there a standard way (or automatic within jclouds) to   
> perform re-authentication when the token expires?

Which provider are you talking about specifically? There a quite a few APIs in 
jclouds the try to renew authentication automatically, see e.g. [1].

I assume that catching an authentication exception in your calling code and 
retrying isn't an option for you?

Regards

ap

[1]
https://github.com/jclouds/jclouds/blob/master/common/openstack/src/main/java/org/jclouds/openstack/handlers/RetryOnRenew.java

Reply via email to