[Solved] Compare passwords [closed]

If you want to verify that a submitted password matches an encrypted (hashed) password you would use passwordEncoder.matches(rawEnteredPassword, storedEncryptedPassword) (assuming that passwordEncoder is a Spring PasswordEncoder) If you are however trying to verify that the password and the password confirmation are equal (if the user enters both passwords at the same time) you could just … Read more

[Solved] Spring Security – api gateway pattern – bug?

Alright, after many hours we found a solution to what seemed to be inconsistent behavior. Meaning sometimes you’d log in and it’d retain the proper session and you could go the the localhost:8080/ui page and not get the Whitelabel Error page… sometimes you’d still get it. On the Gateway server… 1) Added RequestMethod.POST @Controller public … Read more