on 01-08-2024 12:56 PM
We faced an issue when upgrading hybris from 2205 to 2211.
Currently on spring security upgrade we got into situation that OAuth tokens for customers and applications in SAP commerce became invalid and system drops old tokens generated and require user to login again and then generates new token using new salt and encryption.
Does someone know how to keep users logged in when upgrading SAP commerce with spring security ?
Fixed it by overriding spring-security-core-5.8.5.jar and org.springframework.security:spring-security-web .
Took old classes from spring-***-***-5.6.1.jars and placed tham in new spring-***-***-5.8.5.jars by java command that helps to modify jars:
jar uf spring-security-core-5.8.5.jar org/springframework/security/authentication/UsernamePasswordAuthenticationToken.class org/springframework/security/core/authority/SimpleGrantedAuthority.class
Made configuration so that my jars (~/core-customize/hybris/config/customize/platform/ext/core/lib/spring-security-core-5.8.5.jar and spring-security-web-5.8.5.jar ) override platform jars.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.