Class JwtAuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.JwtAuthenticationOptions
Authentication options for
JwtAuthentication
.
Authentication options provide the role and the JWT. JwtAuthenticationOptions
can be constructed using builder()
. Instances of this class are immutable once
constructed.
- Since:
- 3.1
- Author:
- Nanne Baars, Mark Paluch
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
-
Field Details
-
DEFAULT_JWT_AUTHENTICATION_PATH
- See Also:
-
-
Method Details
-
builder
- Returns:
- a new
JwtAuthenticationOptions.JwtAuthenticationOptionsBuilder
.
-
getRole
- Returns:
- name of the role against which the login is being attempted. Can be null if not configured.
-
getJwtSupplier
- Returns:
- JSON Web Token.
-
getPath
- Returns:
- the path of the JWT authentication backend mount.
-