We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a question related to trapping and showing server error messages in index.html.
If for example we change method "authenticate" in class WebSecurityConfig as follows:
UsernamePasswordAuthenticationToken token = (UsernamePasswordAuthenticationToken) authentication; if("aaa".equals(token.getCredentials())) throw new AuthenticationException("'aaa' bad password") {};
When logging on using password 'aaa' the user is not logged on, index.html is presented but no error message is displayed.
Is this possible to extend the example to show such errors?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a question related to trapping and showing server error messages in index.html.
If for example we change method "authenticate" in class WebSecurityConfig as follows:
UsernamePasswordAuthenticationToken token = (UsernamePasswordAuthenticationToken) authentication; if("aaa".equals(token.getCredentials())) throw new AuthenticationException("'aaa' bad password") {};
When logging on using password 'aaa' the user is not logged on, index.html is presented but no error message is displayed.
Is this possible to extend the example to show such errors?
The text was updated successfully, but these errors were encountered: