BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

XSUAA Local Testing

Adding XSUAA to a CAP project two ways, and then the part that is usually missing: getting the authorisation to behave on a laptop rather than only after deployment. The default authentication mechanism is the easy half; testing it without a landscape is the reason this exists.

Where it sits

Explains
AuthorizationCAPBTPAuthorizationcapabilityDeciding who may read or change what, at service, entity and instance level — role checks, forwarded user context, and restrictions evaluated as query filters rather than after the fact.Local developmentCAPLocal developmentcapabilityRunning the whole stack on a laptop against real bindings — the service, the UI and the routing in front of it — without deploying to see a change.
Since then
Authorization has changed twice since this was published, most recently in CAP Java 3.7.1, 2025-01-30
Source
reachable

Who is behind it

ManasaManuauthor

Before you read it

read from the page
ApplicabilityCore changedAuthorization has changed twice since this was published, most recently in CAP Java 3.7.1, 2025-01-30.

This is a derived prompt to re-check the work, not a claim that the work is wrong. Exact stale statements are recorded separately after editorial review.

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
4,877

What was found on the page

derived
Prose
derived
920 words
Numbered steps
derived
4
Code blocks
derived
11

For authorization

on the edge
Applies in
authored
btpcap

For local-development

on the edge
Applies in
authored
cap

More on this61

Group by61 of 61 pieces
Piece, what it offersStill applies
Also explainingAuthorization61
Named-User Attribution Across BTP Subaccounts: A Two-Hop IAS Token Exchange for Cloud Integration
SAP Community, agnissh
nothing recorded
Connecting a Custom MCP Server to Joule Work Desktop: A Seamless and Secure Authentication Flow
SAP Community, Siddhartha Routh
nothing recorded
Securing a CAP Node.js App with SAP AMS on BTP Cloud Foundry
SAP Community, Jacky LiuThe reasoningA recipe
nothing recorded
Effective from June 30th 2026 - XSUAA Deprecation of GET Method for OAuth Token Retrieval
SAP Community, Yogananda
nothing recorded
From XSUAA to AMS: Architecting S4HANA CAP Extensions with Policy-Based Authorization
SAP Community, Avinash VaidyaThe reasoningA recipeRunnable code
nothing recorded
How to Restrict CRUD Operations in SAP CAPM Using @Capabilities, @readonly and Test APIs with .http
SAP Community, DeepaRaghoThe reasoningA recipeRunnable code
nothing recorded
Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-1]
SAP Community, sanjucsThe reasoningA recipeRunnable code
Core changed
Dynamic authorisation with user attributes in SAP CAP and AMS
SAP Community, pedro_iranzoThe reasoningA recipeRunnable code
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
SAP BTP XSUAA Security Configuration Comparison: Attribute-Based vs. Authority-Based Approaches
SAP Community, rajeshkputumbakaThe reasoningRunnable code
nothing recorded
Securing CAP Applications with SAP Cloud Identity Services and AMS
SAP Community, gopalanandThe reasoningRunnable code
nothing recorded
Authorization management with OpenSearch's Document Level Security - SAP Cloud Logging
SAP Community, Hariharan-Gandhi
nothing recorded
Establishing connectivity between a local CAP runtime and on-premise systems
SAP Community, vLeonkevThe reasoningA recipeRunnable code
nothing recorded
Creating a Hybrid CAP (Node.js) Profile with PostgreSQL on BTP from Business Application Studio
SAP Community, valentincadartThe reasoningRunnable code
Core changed
CAP with Local App Previews – Tips for Smooth Development
SAP Community, MioYasutake
nothing recorded
How to Call a Remote OData API from Your Local CAP Java Project
SAP Community, UmezukiThe reasoningRunnable code
nothing recorded
Joule Studioがリリースされたので早速CAPアプリを自然言語で操作するカスタムスキルを構築してみた
SAP Community, takayuki_tanaka
nothing recorded
How to fix npm error notarget @sap/hdi-deploy when you create a CAP app in BAS
SAP Community, Ryota_Ito
nothing recorded
Securing SAP CAP Applications: XSUAA, Roles, and Authorization Best Practices
SAP Community, Soumya-Pirlamarla
nothing recorded
Remote Debugging of SAP CAPM App - Nodejs
SAP Community, darshanv23The reasoningA recipe
nothing recorded
SAP IAM integration with SAP Cloud Identity Services
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
SAP CAP Lessons Learned: SQLite is single threaded, HANA is not
SAP Community, LucasMagriniRigo
nothing recorded
CAP-JAVA implementation for Authorization Management Service (AMS)
SAP Community, Harvey_Yao
nothing recorded
Enabling Authorization Policies in SAP Cloud Identity Services - IAS with AMS/CAP
SAP Community, YoganandaThe reasoningA recipe
Core changed
CAP for nodejs安全的暴露接口练习
SAP Community, ArthurYang
nothing recorded
Authorization Management Service in SAP Cloud Identity Service
SAP Community, kevin_liThe reasoning
nothing recorded
Avoid design time CAP server restarts when maintaining local data files
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
Develop CAP Project with Lazyvim in Docker
SAP Community, Helmut TammenThe reasoning
nothing recorded
SAP CAP(Cloud Application Programming)开发框架概述
SAP Community, ArthurYang
nothing recorded
cds-launchpad-plugin supercharged & ready for the future - CAP Plugin, UI5 Tooling support & Async Launchpad
SAP Community, Geert-Jan KlapsThe reasoningRunnable code
nothing recorded
CAP PostgreSql setup local debugging using Docker - Part 2
SAP Community, ramonlee5A recipe
Core changed
SAP Tech Bytes: Using the SAP Approuter at dev time - a full-stack journey with UI5 and CAP
SAP Community, Nico SchoenteichThe reasoningRunnable code
New majors
XSUAA Based Authentication - Using Managed Approuter
SAP Community, rahul_rajagopalThe reasoningA recipe
Core changed
XSUAA Based Authentication - Using Standalone Approuter
SAP Community, rahul_rajagopalThe reasoningA recipe
nothing recorded
CAP Typescript + Fiori Typescript + live reload Initial app setup
SAP Community, Christophe_SWThe reasoningRunnable code
Core changed
Surviving and Thriving with the SAP Cloud Application Programming Model: Local development hurdles
SAP Community, maxstreifeneder
nothing recorded
[Part - 1] Enrich CAP based Services with Behaviors using Annotations
SAP Community, Ajit Kumar Panda
nothing recorded
SAP Job Scheduling Service + Cloud Application Programming Model application (CAP) + SAP Authorization and Trust Management Service (XSUAA)
SAP Community, former_member412792The reasoning
nothing recorded
BTP CAP : How to Connect to Remote Services Locally in CAP Application
SAP Community, showkath_naseemThe reasoning
nothing recorded
加速开发和部署的CAP CDS和Fiori一些实用命令
SAP Community, TiaXuThe reasoningA recipeRunnable code
Core changed
Useful CAP CDS and Fiori Commands to Accelerate Development and Deployment
SAP Community, TiaXu
nothing recorded
Qualtrics integration with domain based authorization in CAP project on HANA cloud
SAP Community, former_member69893The reasoningRunnable code
Core changed
An approach to secure multiple integrated SAP CAP java applications with a common XSUAA service instance
SAP Community, sreanik_dhanyakumar2The reasoning
nothing recorded
SAP Business Technology Platform: Authorization and Trust Management Service
SAP Community, SekhuteTK
nothing recorded
How to get authenticated user information with CAP in three different ways – Using the XSUAA API
SAP Community, ale_biagiThe reasoning
nothing recorded
Why developers should care about credential-types for xsuaa?
SAP Community, former_member2839The reasoningA recipeRunnable code
Core changed
A Fiori Launchpad Sandbox for all your CAP-based projects - Overview
SAP Community, Geert-Jan KlapsThe reasoningA recipeRunnable code
nothing recorded
A Fiori Launchpad Sandbox for all your CAP-based projects – Sample project setup
SAP Community, Geert-Jan KlapsThe reasoningRunnable code
nothing recorded
Insights of Cloud SDK, CAP, XSUAA, SSH and other BTP topics from 2021
SAP Community, dr_vupThe reasoning
nothing recorded
Use Tasks in Visual Studio Code to start a cds service, an approuter and launch a browser in one go
SAP Community, pieterjanssensThe reasoningRunnable code
Core changed
SAP Cloud Application Programming Model(CAP):概要およびデモ - Part 1
SAP Community, rasai, part 1 of 2
nothing recorded
Running CAP Node Applications in SAP Business Application Studio
SAP Community, liat_bThe reasoning
nothing recorded
Use SCP CF Destination service in NodeJs locally
SAP Community, WouterLemaireThe reasoningRunnable code
Core changed
Understanding security approaches in SAP CAP using XSUAA in node.js flavor and MTA.
SAP Community, balbinosoaresThe reasoningA recipeRunnable code
Core changed
Using Postman for API Testing with XSUAA
SAP Community, mariusobertThe reasoningRunnable code
nothing recorded
Develop SAP CAP apps inside a VS Code Docker Container
SAP Community, Helmut TammenThe reasoningRunnable code
Core changed
Set up VS Code on Chrome OS for local Application Programming Model development
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
How SAP secures enterprise AI agents with identity propagation
SAP TechEd — session catalogue, Gunnar KoscheThe reasoning
nothing recorded
Create a Simple CAP Application and Explore the Defaults
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Get an introduction to the cds REPL
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Set up a self-contained development environment for CAP Node.js
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsAuthorizationcapability, core and community
explainsLocal developmentcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:authorization (cap, btp); capability:local-development (cap)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:xsuaa-local-testing
JSON
/content/xsuaa-local-testing.json
MCP
Connecting an agent