use of org.openstack.docs.identity.api.v2.Access in project platformlayer by platformlayer.
the class SmokeTest method buildFakeToken.
private KeystoneAuthenticationToken buildFakeToken(String tokenCode) {
Access auth = new Access();
Token tokenObject = new Token();
tokenObject.setId(tokenCode);
auth.setToken(tokenObject);
return new KeystoneAuthenticationToken(auth);
}
Aggregations