The Java library you are using currently for Swift interaction is outdated and has issues when working with non-Rackspace swift clusters. In particular the Java cloud files library does not support v2.0 authentication properly.
Cyberduck (http://cybderduck.io) ran into these issues with the official (now deprecated cloud files library). When Rackspace showed no interest in continuing development in their library, a fork was created which fixes the authentication issues and has many other benefits. The fork is available at https://github.com/dkocher/java-cloudfiles
Rackspace point users to jclouds as a replacement for their library, which is indeed good. It is however a gigantic, multi-function, multi-cloud library. The fork above follows the UNIX paradigm of doing one thing well.
The Java library you are using currently for Swift interaction is outdated and has issues when working with non-Rackspace swift clusters. In particular the Java cloud files library does not support v2.0 authentication properly.
Cyberduck (http://cybderduck.io) ran into these issues with the official (now deprecated cloud files library). When Rackspace showed no interest in continuing development in their library, a fork was created which fixes the authentication issues and has many other benefits. The fork is available at https://github.com/dkocher/java-cloudfiles
Rackspace point users to jclouds as a replacement for their library, which is indeed good. It is however a gigantic, multi-function, multi-cloud library. The fork above follows the UNIX paradigm of doing one thing well.