public class AuthenticatedSessionManagerUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static AuthenticatedSessionManager |
getAuthenticatedSessionManager() |
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 session) |
static void |
signOutSimultaneousLogins(long userId) |
public static AuthenticatedSessionManager getAuthenticatedSessionManager()
public static long getAuthenticatedUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String login,
java.lang.String password,
java.lang.String authType)
throws PortalException
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 session)
throws java.lang.Exception
java.lang.Exceptionpublic static void signOutSimultaneousLogins(long userId)
throws java.lang.Exception
java.lang.Exception