public class PcfAuthenticationOptions extends Object
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.
CredentialSupplier
,
ResourceCredentialSupplier
,
builder()
Modifier and Type | Class and Description |
---|---|
static class |
PcfAuthenticationOptions.PcfAuthenticationOptionsBuilder
Builder for
PcfAuthenticationOptions . |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PCF_AUTHENTICATION_PATH |
Modifier and Type | Method and Description |
---|---|
static PcfAuthenticationOptions.PcfAuthenticationOptionsBuilder |
builder() |
Clock |
getClock() |
Supplier<String> |
getInstanceCertSupplier() |
Supplier<String> |
getInstanceKeySupplier() |
String |
getPath() |
String |
getRole() |
public static final String DEFAULT_PCF_AUTHENTICATION_PATH
public static PcfAuthenticationOptions.PcfAuthenticationOptionsBuilder builder()
PcfAuthenticationOptions.PcfAuthenticationOptionsBuilder
.public String getPath()
public String getRole()
public Supplier<String> getInstanceCertSupplier()
Supplier
.Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.