Security breach on

We faced an issue overwriting this class named CustomSessionTokenEnhancer which extends SessionTokenEnhancer. We think the problem is connected to OAuth2 for Spring Security version 2.5.1.
We provided images of this issue.
Thanks in advance.

photo_2022-05-24_14-44-58

photo_2022-05-24_14-45-00

photo_2022-05-24_14-45-03

1 Like

Thank you for pointing out the problem!
We’ll update the dependency in the next patch: https://github.com/jmix-framework/jmix/issues/730

Meanwhile, you can do it in your project by adding the dependency with the required version:

implementation 'org.springframework.security.oauth:spring-security-oauth2:2.5.2.RELEASE'