Class IdentityAuthenticationServiceBindingDestinationLoader
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.IdentityAuthenticationServiceBindingDestinationLoader
- All Implemented Interfaces:
ServiceBindingDestinationLoader
public class IdentityAuthenticationServiceBindingDestinationLoader
extends Object
implements ServiceBindingDestinationLoader
A
ServiceBindingDestinationLoader that loads destinations from service bindings backed by the Identity
Authentication Service (IAS).- Since:
- 5.6.0
-
Constructor Summary
ConstructorsConstructorDescriptionThe default constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.cloudplatform.connectivity.ServiceBindingDestinationLoader
getDestination
-
Constructor Details
-
IdentityAuthenticationServiceBindingDestinationLoader
public IdentityAuthenticationServiceBindingDestinationLoader()The default constructor.
-
-
Method Details
-
tryGetDestination
@Nonnull public io.vavr.control.Try<HttpDestination> tryGetDestination(@Nonnull ServiceBindingDestinationOptions options) Description copied from interface:ServiceBindingDestinationLoader- Specified by:
tryGetDestinationin interfaceServiceBindingDestinationLoader- Parameters:
options- TheServiceBindingDestinationOptionsthat contain further context information about how the transformation process should be done.- Returns:
- Either a
Try.success(Object)if the transformation succeeded,Try.failure(Throwable)otherwise.In case of a
Try.failure(Throwable), the cause will either be aDestinationAccessExceptionor aDestinationNotFoundException.
-