Is there a java library that supports swift (OpenStack) with keystone authentication?
It seems to be work in progress in JClouds but not finished yet, and cloudfiles does not seem to support it (yet) either.
Is there a java library that supports swift (OpenStack) with keystone authentication?
It seems to be work in progress in JClouds but not finished yet, and cloudfiles does not seem to support it (yet) either.
A complete overhaul of swift (called openstack-swift) is in progress. In the mean time, you can use any jclouds 1.7 release with the provider key "swift-keystone".
Ex.
view = ContextBuilder.newBuilder("swift-keystone") // or new SwiftKeystoneApiMetadata()
.credentials("tenantName:userName", "password")
.endpoint("http://localhost:5000/v2.0")
.buildView(BlobStoreContext.class);
JOSS is a dedicated OpenStack Swift binding for Java using Keystone authentication. On the Github page, there are several tutorials to see how it works.
Disclaimer: I am one of the authors of JOSS