The User Account and Authentication service validates users and their roles and provides them with an authentication token. You can find more information on the UAA service in the developer guide.
Before you can establish a dependency between your HTML5 module and the UAA service instance, you need to list the UAA service instance as a resource in your applications. Open the mta.yaml
file in graphical mode and got to the resources tab. Create a new resource using the + Sign
Fill in the name, choose com.sap.xs.uaa-space
from the search help.
Click Modules to add the dependency to the UAA service in the web module
What is this mta.yaml
file for?
We have so far created a Multi Target Application, that is, an application that will contain different modules, such as an HTML5 module and some database artifacts within a HANA Database Module. This file is a design-time descriptor, that will be used by the platform to create a deployment descriptor. This file contains information related to the application (ID, version, description) as well as resources, modules and parameters that will be deployed and required at runtime.
And click on Save
Open the Code Editor
tab in the bottom to see the actual contents of the mta.yaml
file.