Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
4330a37
finalized AMS role assignment
Oct 16, 2025
d845904
finalized AMS
Oct 17, 2025
520976f
cap user propagation
Oct 17, 2025
08f5395
user propagation
Oct 21, 2025
a19452a
finalized cap users
Oct 21, 2025
b1d5b10
restructured images
Oct 22, 2025
7043ed0
next step
Nov 4, 2025
f66a87d
continued
Nov 7, 2025
040d5b7
external authentication
Nov 11, 2025
8b6ca47
remote service part2
Nov 21, 2025
3e2d5d4
cleaned assets
Nov 25, 2025
4faab90
added diagrams remote auth
Nov 25, 2025
93aed93
fixed typos
Nov 25, 2025
6b4f61b
before ai proposals
Nov 25, 2025
1e9f192
minor improvements
Nov 25, 2025
52be7e9
minor changes
Nov 25, 2025
a2d95e0
diagrams
Nov 25, 2025
c1a511e
fixed AMS aspect
Nov 26, 2025
0e5f502
autorizations
Nov 26, 2025
d5c3ad6
authoriaztions restructured
Nov 27, 2025
f9aba1b
fixed links
Nov 27, 2025
cd54b31
fixed links
Nov 27, 2025
938f674
fixed links
Nov 27, 2025
a03ff31
fixed links
Nov 27, 2025
d88861c
chapter headers and java menu
Nov 28, 2025
1e19652
refactored java security and authorization guide
Nov 28, 2025
eb4046e
fixed links
Nov 28, 2025
4b631a5
btp reuse internal
Nov 28, 2025
d4d21d5
links
Nov 28, 2025
89eef9f
added some external links
Nov 28, 2025
fcf11e8
unified diagrams
Dec 1, 2025
8147fe6
improved diagrams
Dec 1, 2025
1f3123c
removed switch users from java guide
Dec 1, 2025
36f20b6
minor changes cap-users
Dec 1, 2025
accff56
deleted swp file
Dec 1, 2025
54e7cc2
Update guides/security/overview.md
BraunMatthias Dec 8, 2025
aeb0302
Update guides/security/overview.md
BraunMatthias Dec 8, 2025
9fdf9a1
Update guides/security/overview.md
BraunMatthias Dec 8, 2025
ffe356b
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
b74c944
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
7333c1c
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
9214087
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
2366506
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
f39a716
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
75a3f38
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
12febe3
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
f00dc44
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
24ba9c0
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
4ac9c3b
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
17df1be
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
70881f0
minor changes
Dec 8, 2025
6bc9b22
prepare xsuaa auth
Dec 8, 2025
a4296dc
xsuaa auth
Dec 8, 2025
a86cc88
xsuaa continued
Dec 9, 2025
2e1b0f0
xsuaa authentication
Dec 9, 2025
e5b228f
harmonized titles
Dec 9, 2025
70b0dd1
minor
Dec 10, 2025
a4525c9
wip: xsuaa node
patricebender Dec 11, 2025
308bf03
some adjustements to mock auth in node
patricebender Dec 11, 2025
e670354
add learnings after cli testing with xsuaa for node
patricebender Dec 11, 2025
454cd72
rm unused file
patricebender Dec 11, 2025
11e8ac6
format
patricebender Dec 11, 2025
38561f3
add TODO
patricebender Dec 11, 2025
2c1e43a
more infos in UI testing guide
patricebender Dec 11, 2025
3c58958
Adding node specific Snippets & Sections (CAP User) (#2264)
PDT42 Dec 12, 2025
9b2d4ec
DB support
Dec 12, 2025
c1beafa
Sync changes from 'revised-security-guide-ams-nodejs' into revised-se…
PDT42 Dec 12, 2025
d2f8da2
fix: missing closing tag
PDT42 Dec 12, 2025
c6170cd
fix: smaller messes
PDT42 Dec 12, 2025
d2a1c07
fix: add section on validating node config
PDT42 Dec 12, 2025
56c5e27
feat: add node specific graphics
PDT42 Dec 12, 2025
6dd3bdb
feat: integrate node specific graphic and update examples
PDT42 Dec 12, 2025
6eee50a
fix: graphic format
PDT42 Dec 12, 2025
2bc7a75
fix: small messes
PDT42 Dec 12, 2025
4f64c97
fix: fill in todo
PDT42 Dec 15, 2025
5aba810
Update guides/security/cap-users.md
BraunMatthias Dec 15, 2025
e58efd0
Update guides/security/cap-users.md
BraunMatthias Dec 15, 2025
f63c570
Update guides/deployment/microservices.md
BraunMatthias Dec 15, 2025
321eeb6
Update guides/security/cap-users.md
BraunMatthias Dec 15, 2025
2a120e3
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
df6ac7d
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
b43cc56
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
8424aac
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
43fba55
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
1ccad2e
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
7f5f505
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
254d83d
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
3fa90dc
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
a623085
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
0055a3e
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
0e32b63
docs: suggest node specific custom auth section
PDT42 Dec 16, 2025
8fd6839
feat: use node specific user name
PDT42 Dec 17, 2025
1df82dc
fix: node specific user names
PDT42 Dec 17, 2025
6ec12c2
fixed dead links
Dec 17, 2025
ad961d9
fixed dead links
Dec 17, 2025
fcbde11
removed toxic link
Dec 17, 2025
38ed444
added tracing
Dec 17, 2025
d2adb4d
links
Dec 17, 2025
16a3bad
minor changes
Dec 18, 2025
543ec2b
minor changes
Dec 18, 2025
3ddfe43
Update guides/security/authorization.md
BraunMatthias Dec 19, 2025
dc1e012
fixed curl examples in IAS
Dec 19, 2025
acd781e
Update guides/security/cap-users.md
BraunMatthias Dec 19, 2025
94e984d
Update guides/security/cap-users.md
BraunMatthias Dec 19, 2025
9d70817
Update guides/security/authentication.md
BraunMatthias Dec 19, 2025
8234352
minor fixes
Dec 19, 2025
4f70acb
Update guides/security/cap-users.md
BraunMatthias Dec 19, 2025
58226a2
minor
Dec 19, 2025
e87958e
diagrams
Dec 19, 2025
ac55d4e
dead link
Dec 19, 2025
7fe1e5e
Update guides/security/cap-users.md
BraunMatthias Dec 22, 2025
c5c4f60
minor changes
Dec 22, 2025
981d064
minor changes
Dec 22, 2025
51116c8
feedback
Dec 22, 2025
d3aa01f
improved bookshop example
Dec 22, 2025
b3ae52e
feat: add content for tracing in node
PDT42 Dec 29, 2025
9938545
rebase main (new structure)
BraunMatthias Jan 12, 2026
99cafbf
duplicated file
renejeglinsky Jan 13, 2026
d452f4b
rebased revised-security-guide brancvh into main after new structure …
Sep 15, 2025
c86b24a
restructured, auth guide in progress
Sep 18, 2025
987829d
ias cli testing
Sep 19, 2025
fe27f49
safepoint
Sep 25, 2025
86e2ba9
UI IAS flow
Sep 25, 2025
2b2d28c
ias auth beta
Sep 26, 2025
f7a4130
custom auth
Sep 26, 2025
4edd235
restructed chapters
Sep 30, 2025
d39c616
next step
Oct 9, 2025
c9e6ec3
finalized AMS role assignment
Oct 16, 2025
a910201
finalized AMS
Oct 17, 2025
0637fa5
cap user propagation
Oct 17, 2025
0a67ec5
user propagation
Oct 21, 2025
a5bedda
finalized cap users
Oct 21, 2025
0770a33
restructured images
Oct 22, 2025
8748594
next step
Nov 4, 2025
7a512fd
continued
Nov 7, 2025
f8438b1
external authentication
Nov 11, 2025
ae84469
remote service part2
Nov 21, 2025
5e612c1
cleaned assets
Nov 25, 2025
d9cdc18
added diagrams remote auth
Nov 25, 2025
eae4871
fixed typos
Nov 25, 2025
d6288b0
before ai proposals
Nov 25, 2025
5ee855b
minor improvements
Nov 25, 2025
71cae0d
minor changes
Nov 25, 2025
fe0c1b0
diagrams
Nov 25, 2025
342fc67
fixed AMS aspect
Nov 26, 2025
f78aa52
autorizations
Nov 26, 2025
3989d24
authoriaztions restructured
Nov 27, 2025
99fda94
fixed links
Nov 27, 2025
02f026d
fixed links
Nov 27, 2025
e907f79
fixed links
Nov 27, 2025
e7a9179
fixed links
Nov 27, 2025
b18c00b
chapter headers and java menu
Nov 28, 2025
17780d9
refactored java security and authorization guide
Nov 28, 2025
38ceee9
fixed links
Nov 28, 2025
5c4918f
btp reuse internal
Nov 28, 2025
1faddad
links
Nov 28, 2025
3a40adb
added some external links
Nov 28, 2025
74deeb6
unified diagrams
Dec 1, 2025
caf2775
improved diagrams
Dec 1, 2025
b3b0c8d
removed switch users from java guide
Dec 1, 2025
9ddc422
minor changes cap-users
Dec 1, 2025
246dea3
deleted swp file
Dec 1, 2025
98bb5a6
Update guides/security/overview.md
BraunMatthias Dec 8, 2025
dd51c9a
Update guides/security/overview.md
BraunMatthias Dec 8, 2025
5ede585
Update guides/security/overview.md
BraunMatthias Dec 8, 2025
6b18afe
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
96564ef
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
12da861
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
fa3beeb
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
0499814
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
1674291
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
b899bdb
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
de460be
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
e8bdb19
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
e155427
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
940f322
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
f655601
Update guides/security/authentication.md
BraunMatthias Dec 8, 2025
1f94124
minor changes
Dec 8, 2025
f586e16
prepare xsuaa auth
Dec 8, 2025
8ffa6fc
xsuaa auth
Dec 8, 2025
a39a05c
xsuaa continued
Dec 9, 2025
b1cfe7f
xsuaa authentication
Dec 9, 2025
9d9881c
harmonized titles
Dec 9, 2025
76997fc
minor
Dec 10, 2025
d4ec8f8
wip: xsuaa node
patricebender Dec 11, 2025
e795218
some adjustements to mock auth in node
patricebender Dec 11, 2025
57e7daa
add learnings after cli testing with xsuaa for node
patricebender Dec 11, 2025
9c1bc53
rm unused file
patricebender Dec 11, 2025
7d38309
format
patricebender Dec 11, 2025
04f0bfe
add TODO
patricebender Dec 11, 2025
91fdce4
more infos in UI testing guide
patricebender Dec 11, 2025
692ef48
Adding node specific Snippets & Sections (CAP User) (#2264)
PDT42 Dec 12, 2025
6094d94
DB support
Dec 12, 2025
e87ca8e
Sync changes from 'revised-security-guide-ams-nodejs' into revised-se…
PDT42 Dec 12, 2025
7f2fa6a
fix: missing closing tag
PDT42 Dec 12, 2025
6b92223
fix: smaller messes
PDT42 Dec 12, 2025
67be7fd
fix: add section on validating node config
PDT42 Dec 12, 2025
af1c861
feat: add node specific graphics
PDT42 Dec 12, 2025
6624f80
feat: integrate node specific graphic and update examples
PDT42 Dec 12, 2025
af469c1
fix: graphic format
PDT42 Dec 12, 2025
cf27568
fix: small messes
PDT42 Dec 12, 2025
9fe1872
fix: fill in todo
PDT42 Dec 15, 2025
6f32a82
Update guides/security/cap-users.md
BraunMatthias Dec 15, 2025
98c3de8
Update guides/security/cap-users.md
BraunMatthias Dec 15, 2025
212b4cd
Update guides/deployment/microservices.md
BraunMatthias Dec 15, 2025
f08097f
Update guides/security/cap-users.md
BraunMatthias Dec 15, 2025
a2f7bb5
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
b873a9f
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
0112167
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
82398dd
Update guides/security/authentication.md
BraunMatthias Dec 15, 2025
36bce1c
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
ba478ac
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
a681b58
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
daf8f31
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
9f4b0e3
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
0a35e5e
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
0e9177c
Update guides/security/authentication.md
BraunMatthias Dec 16, 2025
5d3a108
docs: suggest node specific custom auth section
PDT42 Dec 16, 2025
a0abbf4
feat: use node specific user name
PDT42 Dec 17, 2025
4000403
fix: node specific user names
PDT42 Dec 17, 2025
6df5a76
fixed dead links
Dec 17, 2025
5b24119
fixed dead links
Dec 17, 2025
36d87ff
removed toxic link
Dec 17, 2025
c214534
added tracing
Dec 17, 2025
5c984ee
links
Dec 17, 2025
24ac5e0
minor changes
Dec 18, 2025
31ac00b
minor changes
Dec 18, 2025
b9cdccd
Update guides/security/authorization.md
BraunMatthias Dec 19, 2025
c6c1329
fixed curl examples in IAS
Dec 19, 2025
21f77b9
Update guides/security/cap-users.md
BraunMatthias Dec 19, 2025
a853206
Update guides/security/cap-users.md
BraunMatthias Dec 19, 2025
d0c4ee3
Update guides/security/authentication.md
BraunMatthias Dec 19, 2025
719ef50
minor fixes
Dec 19, 2025
d8516c5
Update guides/security/cap-users.md
BraunMatthias Dec 19, 2025
9c21ed5
minor
Dec 19, 2025
18c1271
diagrams
Dec 19, 2025
6404b6a
dead link
Dec 19, 2025
0b2a5d7
Update guides/security/cap-users.md
BraunMatthias Dec 22, 2025
9a7337c
minor changes
Dec 22, 2025
0e611a4
minor changes
Dec 22, 2025
8adea71
feedback
Dec 22, 2025
2b62925
improved bookshop example
Dec 22, 2025
297bd08
feat: add content for tracing in node
PDT42 Dec 29, 2025
6a291f6
rebase main (new structure)
BraunMatthias Jan 12, 2026
ac6de22
duplicated file
renejeglinsky Jan 13, 2026
18e0570
Merge branch 'revised-security-guide' of https://github.com/cap-js/do…
renejeglinsky Jan 13, 2026
ceccffb
fix link issues
renejeglinsky Jan 13, 2026
87c8055
rebase and resolve conflicts
renejeglinsky Jan 13, 2026
ccb78be
Merge branch 'main' into revised-security-guide
renejeglinsky Jan 14, 2026
64666c6
fix links
renejeglinsky Jan 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions get-started/feature-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ Following is an index of the features currently covered by CAP, with status and
| [Arrayed Elements](../cds/cdl#arrayed-types) | <X/> | <X/> | <X/> |
| [Streaming & Media Types](../guides/services/media-data) | <X/> | <X/> | <X/> |
| [Conflict Detection through _ETags_](../guides/services/served-ootb#etag) | <X/> | <X/> | <X/> |
| [Authentication via JWT](../guides/security/authorization#prerequisite-authentication) | <Na/> | <X/> | <X/> |
| [Mocked Authentication](../guides/security/authorization#prerequisite-authentication) | <Na/> | <X/> | <X/> |
| [Authentication](../guides/security/authentication) | <X/> | <X/> | <X/> |


<br>
Expand Down
2 changes: 1 addition & 1 deletion get-started/get-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ A new option `privilegedUser()` can be leveraged when [defining](../java/event-h

| | Explanation |
|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| _Root Cause_ | You've [explicitly configured a mock](../java/security#explicitly-defined-mock-users) user with a name that is already used by a [preconfigured mock user](../java/security#preconfigured-mock-users). |
| _Root Cause_ | You've [explicitly configured a mock](../java/security#custom-mock-users) user with a name that is already used by a [preconfigured mock user](../java/security#preconfigured-mock-users). |
| _Solution_ | Rename the mock user and build your project again. |

### Why do I get an "Error on server start"?
Expand Down
2 changes: 1 addition & 1 deletion guides/deploy/microservices.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Note that we use the *--ws-pack* option for some modules. It's important for nod

### Authentication

Add [security configuration](../security/authorization#xsuaa-configuration) using the command:
Add [security configuration](../security/authentication) using the command:

```shell
cds add xsuaa --for production
Expand Down
2 changes: 1 addition & 1 deletion guides/deploy/to-cf.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ cds add xsuaa
```

::: tip This will also generate an `xs-security.json` file
The roles/scopes are derived from authorization-related annotations in your CDS models. Ensure to rerun `cds compile --to xsuaa`, as documented in the [_Authorization_ guide](../security/authorization#xsuaa-configuration) whenever there are changes to these annotations.
The roles/scopes are derived from authorization-related annotations in your CDS models. Ensure to rerun `cds compile --to xsuaa`, as documented in the [_Security_ guide](../security/cap-users#xsuaa-roles) whenever there are changes to these annotations.
:::

[Learn more about SAP Authorization and Trust Management/XSUAA.](https://discovery-center.cloud.sap/serviceCatalog/authorization-and-trust-management-service?region=all){.learn-more}
Expand Down
14 changes: 9 additions & 5 deletions guides/security/_menu.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# [SAP Product Standards](../../../guides/security/product-standards) <!-- INTERNAL -->
# [CAP-level Authorization](authorization)
# [Platform Security](platform)
# [Data Protection](data-protection)
# [Data Privacy](data-privacy)

# [Security Overview](overview)
# [Authentication](authentication)
# [CAP Users](cap-users)
# [CAP Authorization](authorization)
# [Remote Authentication](remote-authentication)
# [Data Privacy Overview](data-privacy)
# [Annotating Personal Data](dpp-annotations)
# [Automatic Audit Logging](dpp-audit-logging)
# [Personal Data Management](dpp-pdm)
<!-- ## [Data Retention Management](dpp-drm) -->
# [Product Security Overview](data-protection)
# [Product Security Standard](../../../guides/security/product-standards) <!-- INTERNAL -->
Binary file added guides/security/assets/add-api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added guides/security/assets/ams-assignment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added guides/security/assets/ams-base-policies.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added guides/security/assets/ams-custom-policy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added guides/security/assets/ams-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading