I am a bit new to Spring Security. Normally, we authenticate users using 2 parameters username and password. I have to configure the authentication process to use 3 parameters, which are account id, username and password. How should I implement it?
2 Answers
The standard way would be to use a custom WebAuthenticationDetails.
Have a look at this answer.