Core Architectural Mandate: In SAP S/4HANA Clean Core, perimeter security has evolved from static network perimeters to cryptographically verified Zero-Trust. HTTP Basic Authentication (username & password) is deprecated across all integration channels. Clean Core mandates Mutual TLS (mTLS X.509) and OAuth 2.0 JWT Bearer Token Exchange (RFC 7523 / RFC 8705) federated through SAP Cloud Identity Services (IAS).
Legacy SAP landscapes relied heavily on static technical users (DIALOG or COMMUNICATION type) with long-lived passwords stored in cleartext configuration files.
| Security Mechanism | Credential Exposure Risk | Revocation Granularity | Clean Core Compliance |
|---|---|---|---|
| HTTP Basic Authentication | Extreme (Password sniffed or leaked in logs) | Global password change breaks all interfaces | ❌ Strictly Deprecated |
| Static API Keys | High (Tokens committed to git repos) | Tenant-wide revocation needed | ❌ Non-Compliant |
| OAuth 2.0 Client Credentials | Low (Short-lived 3600s tokens) | Automated client credential rotation | ⚠️ Minimum Baseline |
| Mutual TLS (mTLS) + OAuth2 Token Exchange | Zero (Cryptographic private key never leaves client) | Instant CRL / OCSP certificate revocation | ✅ Gold Standard Clean Core |
In standard TLS, only the server proves its identity to the client. In Mutual TLS (mTLS), the SAP S/4HANA ICM (Internet Communication Manager) challenges the incoming BTP client to present a trusted X.509 client certificate during the TLS handshake before any HTTP payload is processed.
Explore complete architectural patterns for X.509 mTLS, OAuth2 token exchange, Principal Propagation, and SAP Cloud Identity Services (IAS) in The SAP Enterprise Architecture Suite.
Get the Full Architecture Suite (FLASH80 - 80% Off) →When external third-party applications (e.g. Salesforce or external portals) invoke S/4HANA APIs, they should not authenticate directly against the ERP system.
The Clean Core pattern leverages SAP Cloud Identity Services (IAS) as an identity broker:
In SAP S/4HANA Cloud (Public & Private), security configurations are never done via raw transaction codes (SU01 / SICF). Instead, developers configure Communication Arrangements:
SAP_COM_0008 for Sales Orders) to the communication user, automatically exposing the approved Tier-1 RAP OData V4 services.