Overview of SAP BTP Spring Security Client Library
mainThe SAP BTP Spring Security Client Library provides token validation for Spring Boot applications using tokens issued by SAP BTP Identity service or XSUAA. It integrates java-security with Spring Security OAuth 2.0 Resource Server to provide:
- Automatic OAuth2 service configuration: Automatically configures services based on SAP BTP service bindings found in the environment.
- OAuth2 Token Validation: Validates tokens using the discovered service configurations.
- Claim Access: Provides easy access to principal and token claims within request handlers.
- Token Retrieval: Supports fetching XSUAA tokens using various Grant types.
Supported Environments:
- Cloud Foundry
- Kubernetes/Kyma
Supported Identity Services:
- SAP Identity service (supports Multitenancy/multiple zones)
- XSUAA
Supported JWS Algorithms:
RS256(RSA256: RSASSA-PKCS1-v1_5 with SHA-256)