AP CAPM Authorization Concept Cloud Fondry Applications Role Collections Scopes and Role Templates SAP Business Technology Platform End to End Training with Business Application Studio on Cloud Application Programming Model - We first start with a theoretical overview of Security and Authentication in the SAP Business Technology Platform Cloud Foundry Using XSUAA - Then we create an XSUAA Service in SAP Cloud Foundry With the help of xs-security.json -We create Scope(Roles), Role Template and Role Collections and Assign it to User - We then create the JWT token handling module in our previous CAPM based Application(Last Week Code) - First, we add the xsuaa managed cloud foundry service to our deployment descriptor mta.yaml file so that our app can bind to a application service instance - Then we use a NodeJS Approuter to automate the process of token passing, define routes in Approuter and deploy the MTAR application to SAP Cloud Foundry - We added the service bindings with XSUAA Service and Configuration to our package.json - After that we work with NodeJS service development, we spend a few minutes to learn NodeJS With Express Basics for new learners on Node and Express - Once we have some CAPM Based working API creation experience we explore how to connect to HDI container (or HANA DB) from CAPM Application - We Secure our CDS End points by adding the Role checks using @ annotations - In the example we show, Row level security with CAPM based service, The Viewer Role with scope - The Admin role allows WRITE access to the CAPM End points - We extract data from HDI container(or HANA® DB) and pass it as an API endpoint - We have now a Microservice App working in SAP® Cloud Foundry with CAPM, Fiori and Approuter - We have added the [development] and [production] profile for SAP BTP Security in package.json for cds CAPM - We can use .http file to test the security locally in SAP Business Application Studio, The module usage passport module - Now we also make the NodeJS API Secure by using XSUAA Service and Passport Module With JWT Token Strategy
https://youtu.be/wlzQi8TYHSA
Comments
Post a Comment