public class AuthenticatedSessionManagerUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static long |
getAuthenticatedUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String login,
java.lang.String password,
java.lang.String authType) |
static void |
login(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String login,
java.lang.String password,
boolean rememberMe,
java.lang.String authType) |
static void |
logout(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
static javax.servlet.http.HttpSession |
renewSession(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpSession httpSession) |
static void |
signOutSimultaneousLogins(long userId) |
public static long getAuthenticatedUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String login,
java.lang.String password,
java.lang.String authType)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void login(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String login,
java.lang.String password,
boolean rememberMe,
java.lang.String authType)
throws java.lang.Exception
java.lang.Exceptionpublic static void logout(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.lang.Exception
java.lang.Exceptionpublic static javax.servlet.http.HttpSession renewSession(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpSession httpSession)
throws java.lang.Exception
java.lang.Exceptionpublic static void signOutSimultaneousLogins(long userId)
throws java.lang.Exception
java.lang.Exception