Skip to content

Files

Latest commit

3eb34f1 · Apr 9, 2025

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 21, 2023
Apr 9, 2025
Apr 9, 2025
Apr 9, 2025
Apr 9, 2025
Apr 9, 2025
Apr 9, 2025
Apr 9, 2025
Apr 9, 2025
Jun 13, 2019
Oct 30, 2024
Oct 30, 2024
Oct 30, 2024
Mar 30, 2023
Mar 30, 2023

Sample Applications for SAP BTP Cloud Security Service Integration Library

SAP Java Buildpack

Java 17 using Tomcat 10 servlet

  • java-security-usage: Sample demonstrating how to use the java-security library for authentication and authorization checks in a Java application when bound to an XSUAA service. Additionally, it explains how to implement JUnit Tests using the java-security-test library.
    ✔️ compatible with Kubernetes/Kyma environment

  • java-security-usage-ias: Sample demonstrating how to use the java-security library for authentication checks in a Java application when bound to an Identity service. Additionally, it explains how to implement JUnit Tests using the java-security-test library.

  • java-tokenclient-usage: Sample demonstrating how to use the Xsuaa token-client library for token exchange.

Spring Boot 3 and later

  • spring-security-basic-auth: Spring Boot web application demonstrating how a user can access Rest API via basic authentication (user/password).
    ✔️ enabled for Kubernetes/Kyma environment

  • ⚠️ Deprecated spring-security-xsuaa-usage: Sample demonstrating how to leverage spring-xsuaa library to secure a Spring Boot web application including token exchange (jwtBearer, client-credentials, refresh, etc.). Furthermore, it shows how to implement SpringWebMvcTests using java-security-test library.

  • spring-security-hybrid-usage: Sample demonstrating how to leverage spring-security client library to validate jwt tokens issued by Xsuaa service or by Identity service.
    ✔️ enabled for Kubernetes/Kyma environment

  • spring-webflux-security-xsuaa-usage: Sample demonstrating how to leverage Xsuaa and Spring framework security library to secure a Spring Boot web application.