Class AuthenticatedSessionManagerUtil
Object
com.liferay.portal.security.auth.session.AuthenticatedSessionManagerUtil
- Author:
- Tomas Polesovsky
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
getAuthenticatedUserId
(javax.servlet.http.HttpServletRequest httpServletRequest, String login, String password, String authType) static void
login
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String login, String password, boolean rememberMe, 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)
-
Method Details
-
getAuthenticatedUserId
public static long getAuthenticatedUserId(javax.servlet.http.HttpServletRequest httpServletRequest, String login, String password, String authType) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
login
public static void login(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String login, String password, boolean rememberMe, String authType) throws Exception - Throws:
Exception
-
logout
public static void logout(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception - Throws:
Exception
-
renewSession
public static javax.servlet.http.HttpSession renewSession(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpSession httpSession) throws Exception - Throws:
Exception
-
signOutSimultaneousLogins
- Throws:
Exception
-