Class DefaultLocalScopePrefixProvider
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.principal.DefaultLocalScopePrefixProvider
- All Implemented Interfaces:
LocalScopePrefixProvider
@Deprecated
public class DefaultLocalScopePrefixProvider
extends Object
implements LocalScopePrefixProvider
Deprecated.
To be removed without replacement. Please refer to release notes for more information.
This is the default strategy for determining the local scope prefix used by the SDK. It tries to get the xsappname of
the bound XSUAA service instance whose clientid matches the client_id of the current request's JWT.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.vavr.control.Try<String>Deprecated.Returns the local scope prefix determined by the given implementation.
-
Constructor Details
-
DefaultLocalScopePrefixProvider
public DefaultLocalScopePrefixProvider()Deprecated.
-
-
Method Details
-
getLocalScopePrefix
Deprecated.Description copied from interface:LocalScopePrefixProviderReturns the local scope prefix determined by the given implementation.- Specified by:
getLocalScopePrefixin interfaceLocalScopePrefixProvider- Returns:
- A
Tryif the String representing the local scope prefix.
-