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 booleanrequiresUserTokenExchange(AuthenticationType authType, String systemUser) Helper method to identify if anAuthenticationTyperequires user token exchangestatic booleanrequiresUserTokenExchange(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 anAuthenticationTyperequires user token exchange- Parameters:
authType- TheAuthenticationTypeto be examinedsystemUser- The SystemUser property value maintained in a destination- Returns:
- a boolean value depending on if the authentication type requires user token exchange
-