XSUAA Programming model

What is UAA Cloud Foundry#

Cloud Foundry is one of the key environments of the SAP Cloud Platform.

User Account and Authentication (UAA) is the identity and management service for Cloud Foundry.

SAP Cloud Platform XSUAA Service#

XSUAA is an implementation of UAA service from SAP to be used with SAP Cloud Platform. It greatly extends capabilities for Cloud Foundry UAA service by providing additionally:

  • service broker
  • support for multitenancy
  • API management functions
  • Other SAP specific advantages to authentication and authorization in business applications

XSUAA client libraries#

To simplify application development XSUAA service provides client libraries for Java and JavaScript.

The library for Java is Open Source and available on Github.

The library for JavsScript is delivered via NPM and is not Open Source at the moment.

Integration with SAP Cloud SDK#

SAP Cloud SDK for Java has recently migrated its authentication flows from own implementation to a stable version of Java XSUAA library. This ensures full coverage of authentication methods available on SAP Cloud Platform with high level of security and ongoing updates provided by the underlying library. Initial support was introduced with version 3.16.1 of the Cloud SDK for Java.

SAP Cloud SDK for JavaScript currently handles XSUAA service on its own without using official library. The reason for this was the library being in active development and lingering behind SDK's needs. Currently library is stabilized and migration steps for SDK are planned. Follow our release notes to find out when migration happens.

Useful links#

Last updated on by Frank Essenberger