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 |
---|---|
com.google.common.base.Optional<Credentials> |
ProxyConfiguration.getCredentials() |
Modifier and Type | Method and Description |
---|---|
static ProxyConfiguration |
ProxyConfiguration.of(String uri,
Credentials credentials) |
static ProxyConfiguration |
ProxyConfiguration.of(URI uri,
Credentials credentials) |
Constructor and Description |
---|
ProxyConfiguration(URI uri,
Credentials credentials) |
Modifier and Type | Class and Description |
---|---|
class |
BasicCredentials |
class |
NoCredentials |
Modifier and Type | Method and Description |
---|---|
Credentials |
MockRfcDestination.getCredentials() |
Credentials |
MockErpDestination.getCredentials() |
Credentials |
MockUtil.getCredentials(String systemAlias)
Returns the credentials for the given alias.
|
Credentials |
MockUtil.getCredentials(TestSystem<?> testSystem) |
Modifier and Type | Method and Description |
---|---|
void |
MockUtil.addCredentials(String systemAlias,
Credentials credentials)
Registers the given
Credentials to enable retrieval by its alias. |
MockRfcDestination.MockRfcDestinationBuilder |
MockRfcDestination.MockRfcDestinationBuilder.credentials(Credentials credentials) |
MockErpDestination.MockErpDestinationBuilder |
MockErpDestination.MockErpDestinationBuilder.credentials(Credentials credentials) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials)
Mocks a destination with a given name to redirect to the given
URI with the given Credentials . |
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials,
ProxyConfiguration proxyConfiguration)
Mocks a destination with a given name to redirect to the given
URI with the given Credentials . |
Destination |
MockUtil.mockErpDestination(ErpSystem erpSystem,
Credentials credentials)
Mocks an ERP
Destination for the given ErpSystem and Credentials for destination name
ErpDestination.getDefaultName() . |
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)
Mocks an ERP
Destination for the given parameters. |
RfcDestination |
MockUtil.mockRfcDestination(ErpSystem erpSystem,
Credentials credentials)
Mocks an
RfcDestination for the given ErpSystem and Credentials for destination name
ErpDestination.getDefaultName() . |
RfcDestination |
MockUtil.mockRfcDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials)
|
RfcDestination |
MockUtil.mockRfcDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials,
Map<String,String> propertiesByName)
Mocks an
RfcDestination for the given parameters. |
void |
MockRfcDestination.setCredentials(Credentials credentials) |
void |
MockErpDestination.setCredentials(Credentials credentials) |
Copyright © 2017 SAP SE. All rights reserved.