You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Controller Advice won't work for handling compromised passwords when the check is done by Spring Security because the Filter happens before the advice can be applied. Instead, a failureHandler should be used in the formLogin DSL.
The text was updated successfully, but these errors were encountered:
The current documentation uses a
@ControllerAdvice
to handle theCompromisedPasswordException
and redirect the user to the/reset-password
page:The Controller Advice won't work for handling compromised passwords when the check is done by Spring Security because the Filter happens before the advice can be applied. Instead, a
failureHandler
should be used in theformLogin
DSL.The text was updated successfully, but these errors were encountered: