com.intel.cosbench.client.keystone
Class KeystoneRequest.AuthInfo
java.lang.Object
com.intel.cosbench.client.keystone.KeystoneRequest.AuthInfo
- Enclosing class:
- KeystoneRequest
public static class KeystoneRequest.AuthInfo
- extends java.lang.Object
The authentication information holding either the password credentials or
the token id. This class is specially structured in a way that is
compatible with the interface provided by the keystone service.
{"passwordCredentials": ... , "token": ... ,
"tenantId": "?", "tenantName": "?"}
- Author:
- qzheng
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeystoneRequest.AuthInfo
public KeystoneRequest.AuthInfo()
getPasswordCredentials
public KeystoneRequest.AuthInfo.Credentials getPasswordCredentials()
setPasswordCredentials
public void setPasswordCredentials(KeystoneRequest.AuthInfo.Credentials passwordCredentials)
getToken
public KeystoneRequest.AuthInfo.Token getToken()
setToken
public void setToken(KeystoneRequest.AuthInfo.Token token)
getTenantId
public java.lang.String getTenantId()
setTenantId
public void setTenantId(java.lang.String tenantId)
getTenantName
public java.lang.String getTenantName()
setTenantName
public void setTenantName(java.lang.String tenantName)