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 Details

    • DefaultLocalScopePrefixProvider

      public DefaultLocalScopePrefixProvider()
      Deprecated.
  • Method Details

    • getLocalScopePrefix

      @Nonnull public io.vavr.control.Try<String> getLocalScopePrefix()
      Deprecated.
      Description copied from interface: LocalScopePrefixProvider
      Returns the local scope prefix determined by the given implementation.
      Specified by:
      getLocalScopePrefix in interface LocalScopePrefixProvider
      Returns:
      A Try if the String representing the local scope prefix.