axel3rd commented on this pull request.
> +{% highlight java %} +final Properties overrides = new Properties(); +overrides.put(KeystoneProperties.KEYSTONE_VERSION, "2"); +overrides.put(KeystoneProperties.TENANT_NAME, "myTenant"); + +ContextBuilder.newBuilder("openstack-nova") + .endpoint("https://host:5000/v2.0") + .credentials("foo", "bar") + .overrides(overrides) + .buildApi(NovaApi.class); +{% endhighlight %} + +Will produce when authentication needed: + + POST https://host:5000/v2.0/tokens HTTP/1.1 + { Configure logging to see what exactly is sent is simple (jclouds write the property to set to `true` and SLF4J in debug). The (little) difficulty in jclouds authentication usage is the option to configure. It depends mainly of OpenStack platform configuration (v2, v3, domains, ...) ... and some manual REST tries on token endpoint could be required to see what is supported by the platform. So these snippet are to help the user on jclouds usage when it has found its way of auhentication on OpenStack. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-site/pull/214#discussion_r187590966