Keystone keystone = new Keystone(props.getKeystoneHost() + ':'
+ props.getKeystonePort() + '/' + props.getOAuthVersion());
Authentication authentication = new UsernamePassword(
props.getKeystoneProxyUser(), props.getKeystoneProxyPass());
Access access = keystone.tokens().authenticate(authentication)
.execute();
return access.getToken().getId();
}