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
ConstructorDescriptionThe default constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
tryGetDestination
in interfaceServiceBindingDestinationLoader
- Parameters:
options
- TheServiceBindingDestinationOptions
that 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 aDestinationAccessException
or aDestinationNotFoundException
.
-