jodd-joy/src/main/java/jodd/joy/auth/UserSession.java
public static UserSession get(final HttpServletRequest httpServletRequest) {
		final HttpSession httpSession = httpServletRequest.getSession(false);
		if (httpSession == null) {
			return null;
		}
		return (UserSession) httpSession.getAttribute(AUTH_SESSION_NAME);
	}
public static UserSession get(final HttpServletRequest httpServletRequest) {
		final HttpSession httpSession = httpServletRequest.getSession(false);
		if (httpSession == null) {
			return null;
		}
		return (UserSession) httpSession.getAttribute(AUTH_SESSION_NAME);
	}
public static UserSession get ( final HttpServletRequest httpServletRequest ) { final HttpSession httpSession = httpServletRequest . getSession ( false ) ; if ( httpSession == null ) { return null ; } return ( UserSession ) httpSession . getAttribute ( AUTH_SESSION_NAME ) ; }
Retrieves the user session from the HTTP session. Returns {@code null}
if no session found.
Retrieves the user session from the HTTP session . Returns {