Class XsuaaParams

java.lang.Object
com.sap.cds.services.utils.lib.mtx.impl.XsuaaParams

@Deprecated(forRemoval=true, since="3.4.0") public class XsuaaParams extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Value class containing parameters of xsuua service instance
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    XsuaaParams(String url, String clientId, String clientSecret)
    Deprecated, for removal: This API element is subject to removal in a future version.
    replaced by constructor with credentials.
    XsuaaParams(Map<String,Object> credentials)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.sap.cloud.security.config.OAuth2ServiceConfiguration
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CLIENTID

      public static final String CLIENTID
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • CLIENT_SECRET

      public static final String CLIENT_SECRET
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • URL

      public static final String URL
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • CERTIFICATE

      public static final String CERTIFICATE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • CERTURL

      public static final String CERTURL
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • XSAPPNAME

      public static final String XSAPPNAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • KEY

      public static final String KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • XsuaaParams

      @Deprecated(forRemoval=true, since="3.0.0") public XsuaaParams(String url, String clientId, String clientSecret)
      Deprecated, for removal: This API element is subject to removal in a future version.
      replaced by constructor with credentials.
      Parameters:
      url - URL of xsuaa service instance (stored in VCAP_SERVICES)
      clientId - client id (stored in VCAP_SERVICES)
      clientSecret - client secret (stored in VCAP_SERVICES)
    • XsuaaParams

      public XsuaaParams(Map<String,Object> credentials)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      credentials - Map with all credentials of xsuaa binding
  • Method Details

    • getUrl

      public String getUrl()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      URL
    • updateUrl

      public void updateUrl(String url)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      url - change URL after creation, needed in test cases.
    • getClientId

      public String getClientId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      client id
    • getOAuth2ServiceConfiguration

      public com.sap.cloud.security.config.OAuth2ServiceConfiguration getOAuth2ServiceConfiguration()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      OAuth2 service configuration