Class DestinationUtility
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationUtility
Utility class for destination related functionality.
This class is meant for internal usage only.
- Since:
- 4.6.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
requiresUserTokenExchange
(AuthenticationType authType, String systemUser) Helper method to identify if anAuthenticationType
requires user token exchangestatic boolean
requiresUserTokenExchange
(DestinationProperties destination) Helper method to identify if a destination requires user token exchange
-
Method Details
-
requiresUserTokenExchange
Helper method to identify if a destination requires user token exchange- Parameters:
destination
- The destination to be checked- Returns:
- a boolean value depending on if the destination requires user token exchange
-
requiresUserTokenExchange
public static boolean requiresUserTokenExchange(@Nonnull AuthenticationType authType, @Nullable String systemUser) Helper method to identify if anAuthenticationType
requires user token exchange- Parameters:
authType
- TheAuthenticationType
to be examinedsystemUser
- The SystemUser property value maintained in a destination- Returns:
- a boolean value depending on if the authentication type requires user token exchange
-