Class VaultProperties.SessionLifecycle
- java.lang.Object
-
- org.springframework.cloud.vault.config.VaultProperties.SessionLifecycle
-
- Enclosing class:
- VaultProperties
public static class VaultProperties.SessionLifecycle extends Object
Configuration to Vault Session lifecycle management.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description SessionLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetExpiryThreshold()DurationgetRefreshBeforeExpiry()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetExpiryThreshold(Duration expiryThreshold)voidsetRefreshBeforeExpiry(Duration refreshBeforeExpiry)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getRefreshBeforeExpiry
public Duration getRefreshBeforeExpiry()
-
setRefreshBeforeExpiry
public void setRefreshBeforeExpiry(Duration refreshBeforeExpiry)
-
getExpiryThreshold
public Duration getExpiryThreshold()
-
setExpiryThreshold
public void setExpiryThreshold(Duration expiryThreshold)
-
-