Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test_expressjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
push:
branches: [ "main" ]
paths:
- "ams-expressjs-shopping/**"
- "ams-express-shopping/**"
- ".github/workflows/build_and_test_expressjs.yml"
pull_request:
branches: [ "**" ]
paths:
- "ams-expressjs-shopping/**"
- "ams-express-shopping/**"
- ".github/workflows/build_and_test_expressjs.yml"

jobs:
Expand All @@ -32,13 +32,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ams-expressjs-shopping
cache-dependency-path: ams-express-shopping
- name: Set up JDK 17 # for DCL -> DCN compilation to work before tests
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- run: npm ci
working-directory: ams-expressjs-shopping
working-directory: ams-express-shopping
- run: npm test
working-directory: ams-expressjs-shopping
working-directory: ams-express-shopping
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Node.js sample applications in this repository demonstrate [policy based authorization](https://help.sap.com/docs/identity-authentication/identity-authentication/configuring-authorization-policies?locale=en-US) with the Authorization Management Service (AMS) in applications that authenticate users via the [SAP Cloud Identity Services](https://help.sap.com/docs/identity-authentication?locale=en-US) (SCI). The focus of the samples is on the authorization via AMS but as the authentication is a necessary requirement, it is demonstrated as well.

- [Node.js CAP sample application](./ams-cap-nodejs-bookshop/)
- **Node.js express.js sample application**: Coming with `@sap/ams` major release version 3
- [Node.js Express sample application](./ams-express-shopping/)

## Description
AMS is the component of SCI that can be enabled to implement and manage an application's authorization in a flexible policy-based language called Data Control Language (DCL). Besides standard authorization checks, it enables applications to provide instance-based authorization capabilities to customers, e.g. limiting a user's access to a slice of the data based on cross-cutting attributes such as company code or region.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.