Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.connectivity | |
com.sap.cloud.sdk.cloudplatform.security | |
com.sap.cloud.sdk.testutil |
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Option<Credentials> |
ProxyConfiguration.getCredentials()
Getter for the credentials, wrapped in an
Option , as it may be null. |
Modifier and Type | Method and Description |
---|---|
static ProxyConfiguration |
ProxyConfiguration.of(String uri,
Credentials credentials)
Static factory to create a configuration based on an URI (as a String) and credentials.
|
static ProxyConfiguration |
ProxyConfiguration.of(URI uri,
Credentials credentials)
Static factory to create a configuration based on an URI and credentials.
|
Constructor and Description |
---|
ProxyConfiguration(URI uri,
Credentials credentials)
Creates a configuration based on the given URI and credentials.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicCredentials
Simple credential implementation based on a username and password.
|
class |
BearerCredentials
Simple credential implementation based on a single token.
|
class |
ClientCredentials
Simple credential implementation based on a clientId and clientSecret.
|
class |
NoCredentials
Empty implementation of the
Credentials interface to be used for a user having no credentials. |
Modifier and Type | Method and Description |
---|---|
Credentials |
MockDestination.getCredentials() |
Credentials |
MockErpDestination.getCredentials() |
Credentials |
MockRfcDestination.getCredentials() |
Credentials |
MockUtil.getCredentials(String systemAlias) |
Credentials |
MockUtil.getCredentials(TestSystem<?> testSystem) |
Modifier and Type | Method and Description |
---|---|
void |
MockUtil.addCredentials(String systemAlias,
Credentials credentials) |
MockDestination.MockDestinationBuilder |
MockDestination.MockDestinationBuilder.credentials(Credentials credentials) |
MockErpDestination.MockErpDestinationBuilder |
MockErpDestination.MockErpDestinationBuilder.credentials(Credentials credentials) |
MockRfcDestination.MockRfcDestinationBuilder |
MockRfcDestination.MockRfcDestinationBuilder.credentials(Credentials credentials) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
AuthenticationType authenticationType,
Credentials credentials,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials,
ProxyConfiguration proxyConfiguration) |
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials) |
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials,
AuthenticationType authenticationType,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName) |
Destination |
MockUtil.mockRfcDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials) |
Destination |
MockUtil.mockRfcDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials,
Map<String,String> propertiesByName) |
void |
MockDestination.setCredentials(Credentials credentials) |
void |
MockErpDestination.setCredentials(Credentials credentials) |
void |
MockRfcDestination.setCredentials(Credentials credentials) |
Copyright © 2021 SAP SE. All rights reserved.