New properties enable invalidation of HTTP sessions and OAuth tokens when a user's group membership changes. Enable via session.group.membership.detection.enabled=true (and a corresponding session property) and oauth2.revoke.tokens.on.group.membership.change=true. This extends the existing invalidation-on-password-change behaviour.
Strengthening Session Security and Audit Logging
Objective
After completing this lesson, you will be able to describe the enhancements to session security, token invalidation, and audit logging in SAP Commerce Cloud
Session and Token Invalidation on Group Membership Change
Expanded Audit Logging Scope
The audit logging scope now includes changes made via Administration Console, ImpEx, scripting, and custom code — previously only API-level changes were captured. Note that the property name controlling audit logging has changed; update your configuration accordingly.
New Audit Logging Events for Session User Changes
Audit logging now distinguishes between a real user switch (impersonation) and a temporary local session context change, reducing false-positive security alerts when reviewing audit logs. This improves the signal-to-noise ratio in Security Information and Event Management integrations.
Lesson Summary
- HTTP sessions and OAuth tokens can now be invalidated automatically when a user's group membership changes.
- Audit logging scope has been expanded to cover Administration Console, ImpEx, scripting, and custom code changes.
- New audit events distinguish real user impersonation from temporary session context changes, improving SIEM signal quality.