spring-security
spring-security copied to clipboard
Fix PublicKeyCredentialType.PUBLIC_KEY comparison with Spring Session
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