Class XsuaaParams
java.lang.Object
com.sap.cds.services.utils.lib.mtx.impl.XsuaaParams
Deprecated, for removal: This API element is subject to removal in a future version.
Value class containing parameters of xsuua service instance
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionXsuaaParams(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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.com.sap.cloud.security.config.OAuth2ServiceConfigurationDeprecated, for removal: This API element is subject to removal in a future version.getUrl()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
CLIENTID
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
CLIENT_SECRET
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
URL
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
CERTIFICATE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
CERTURL
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
XSAPPNAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
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
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
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- URL
-
updateUrl
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
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
-