Class PcfAuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.PcfAuthenticationOptions
Authentication options for
PcfAuthentication
.
Authentication options provide the path, Clock
and instance key/instance
certificate Supplier
s. PcfAuthenticationOptions
can be constructed
using builder()
. Instances of this class are immutable once constructed.
Defaults to platform-default instance certificate/key by resolving
CF_INSTANCE_CERT
and CF_INSTANCE_KEY
env variables.
- Author:
- Mark Paluch
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
-
Field Details
-
DEFAULT_PCF_AUTHENTICATION_PATH
- See Also:
-
-
Method Details
-
builder
- Returns:
- a new
PcfAuthenticationOptions.PcfAuthenticationOptionsBuilder
.
-
getPath
- Returns:
- the path of the pcf authentication backend mount.
-
getRole
- Returns:
- name of the role against which the login is being attempted.
-
getClock
- Returns:
- the
Clock
.
-
getInstanceCertSupplier
- Returns:
- the instance certificate
Supplier
.
-
getInstanceKeySupplier
- Returns:
- the instance key
Supplier
.
-