Search in sources :

Example 1 with Access

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);
}
Also used : Access(org.openstack.docs.identity.api.v2.Access) Token(org.openstack.docs.identity.api.v2.Token) KeystoneAuthenticationToken(org.openstack.keystone.auth.client.KeystoneAuthenticationToken) KeystoneAuthenticationToken(org.openstack.keystone.auth.client.KeystoneAuthenticationToken)

Aggregations

Access (org.openstack.docs.identity.api.v2.Access)1 Token (org.openstack.docs.identity.api.v2.Token)1 KeystoneAuthenticationToken (org.openstack.keystone.auth.client.KeystoneAuthenticationToken)1