spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Fix PublicKeyCredentialType.PUBLIC_KEY comparison with Spring Session

Open ltanguy opened this issue 7 months ago • 0 comments

Replace comparison based on the != operator by an .equals() comparison based on the text value. The 2 objects have the same value in most setups, but not when used in conjunction with Spring Session for example, as the object in session is built for each request.

Fixes gh-17164

ltanguy avatar Jun 10 '25 12:06 ltanguy