Skip to content

Commit

Permalink
Fix link to LoginToken Javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de authored and app committed Jun 20, 2023
1 parent 8b47244 commit c87c219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/asciidoc/reference/authentication.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ Spring Vault provides with {self-docs-root}api/org/springframework/vault/authent
Depending on the authentication method, a login can create two kinds of tokens:

* {self-docs-root}api/org/springframework/vault/support/VaultToken.html[`VaultToken`]: Generic token encapsulating the actual token.
* {self-docs-root}api/org/springframework/vault/support/LoginToken.html[`LoginToken`]: Token associated with renewability/TTL.
* {self-docs-root}api/org/springframework/vault/authentication/LoginToken.html[`LoginToken`]: Token associated with renewability/TTL.

Authentication methods such as {self-docs-root}api/org/springframework/vault/authentication/TokenAuthentication.html[`TokenAuthentication`] just create a `VaultToken` which does not carry any renewability/TTL details. `LifecycleAwareSessionManager` will run a self-lookup on the token to retrieve renewability and TTL from Vault.
`VaultToken` are renewed periodically if self-lookup is enabled. Note that `VaultToken` are never revoked, only `LoginToken` are revoked.
Expand Down

0 comments on commit c87c219

Please sign in to comment.