web/src/main/java/org/springframework/security/web/authentication/session/RegisterSessionAuthenticationStrategy.java
public void onAuthentication(Authentication authentication,
			HttpServletRequest request, HttpServletResponse response) {
		sessionRegistry.registerNewSession(request.getSession().getId(),
				authentication.getPrincipal());
	}
public void onAuthentication(Authentication authentication,
			HttpServletRequest request, HttpServletResponse response) {
		sessionRegistry.registerNewSession(request.getSession().getId(),
				authentication.getPrincipal());
	}
In addition to the steps from the superclass, the sessionRegistry will be updated
with the new session information.