Class LoginTokenAdapter

java.lang.Object
org.springframework.vault.authentication.LoginTokenAdapter
All Implemented Interfaces:
ClientAuthentication

public class LoginTokenAdapter extends Object implements ClientAuthentication
Adapts tokens created by a ClientAuthentication to a LoginToken. Allows decoration of a ClientAuthentication object to perform a self-lookup after token retrieval to obtain the remaining TTL and renewability.

Using this adapter decrements the usage counter for the created token.

Since:
1.1
Author:
Mark Paluch
See Also: