Spring Security Auto Login After Register

[Solved] Spring Security Auto Login After Register | Java Frameworks Spring - Code Explorer | yomemimo.com
Question : spring security auto login after register

Answered by : lucas-pauw9cuw3gol

public void authWithHttpServletRequest(HttpServletRequest request, String username, String password) { try { request.login(username, password); } catch (ServletException e) { LOGGER.error("Error while login ", e); }	}

Source : https://www.baeldung.com/spring-security-auto-login-user-after-registration | Last Update : Thu, 05 Nov 20

Answers related to spring security auto login after register

Code Explorer Popular Question For Java Frameworks Spring