code: protected USER_BEAN saveLoginInfoToSession(USER_ENTITY userEntity) {
          regenerateSessionId();
          logger.debug("...Saving login info to session");
          final USER_BEAN userBean = createUserBean(userEntity);
          sessionManager.setAttribute(getUserBeanKey(), userBean);
          return userBean;
      }
docs: Save login info as user bean to session.
  @param userEntity The entity of the found user. (NotNull)
  @return The user bean saved in session. (NotNull)