Reputation: 43
I have implemented Spring Security Core in my application and according to my work-flow I want to log in the user in the controller when/after it is created without redirecting the user to the spring security login page. Any suggestions on how may I achieve this.. thanks in advance.
Upvotes: 2
Views: 38
Reputation: 1062
You can use :-
springSecurityService.reauthenticate(username,password);
Upvotes: 2