user351353
-1
Q:

spring security auto login after register

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

New to Communities?

Join the community