Example usage for org.springframework.vault.authentication SessionManager interface-usage

List of usage examples for org.springframework.vault.authentication SessionManager interface-usage

Introduction

In this page you can find the example usage for org.springframework.vault.authentication SessionManager interface-usage.

Usage

From source file org.springframework.vault.authentication.LifecycleAwareSessionManager.java

/**
 * Lifecycle-aware Session Manager. This {@link SessionManager} obtains tokens from a
 * {@link ClientAuthentication} upon {@link #getSessionToken() request}. Tokens are
 * renewed asynchronously if a token has a lease duration. This happens 5 seconds before
 * the token expires, see {@link #REFRESH_PERIOD_BEFORE_EXPIRY}.
 * <p>