Module de.stklcode.jvault.connector
Class TokenRoleResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.VaultDataResponse
de.stklcode.jvault.connector.model.response.TokenRoleResponse
- All Implemented Interfaces:
VaultResponse
Vault response from token role lookup providing Token information in
TokenData
field.- Since:
- 0.9
- Author:
- Stefan Kalscheuer
-
Constructor Summary
-
Method Summary
Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponse
getLeaseDuration, getLeaseId, getWarnings, isRenewable
-
Constructor Details
-
TokenRoleResponse
public TokenRoleResponse()
-
-
Method Details
-
setData
Set data. Parses response data map toTokenRole
.- Specified by:
setData
in classVaultDataResponse
- Parameters:
data
- Raw response data- Throws:
InvalidResponseException
- on parsing errors
-
getData
- Returns:
- TokenRole data
-