user3846586
user3846586

Reputation: 43

Grails Spring Security Core Loggin in User while new User Creation

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

Answers (1)

praveen_programmer
praveen_programmer

Reputation: 1062

You can use :-

springSecurityService.reauthenticate(username,password);

Upvotes: 2

Related Questions