How to add a parameter to login page and access in loadUserByUsername method spring security 4
问题 While user tries to login I want to pass an extra parameter userAccountID, and access in loadUserByUsername for querying db user with name and userAccountID. userDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException; How can I achieve this above user case? Thanks in advance. Below is my login Java configuration but it not working empty login page in coming @Bean public AuthenticationSuccessHandlerImpl getAuthenticationSuccessHandlerImpl() throws