public class AuthenticatedSessionManagerUtil
extends Object
Modifier and Type | Method and Description |
---|---|
static AuthenticatedSessionManager |
getAuthenticatedSessionManager() |
static long |
getAuthenticatedUserId(javax.servlet.http.HttpServletRequest request,
String login,
String password,
String authType) |
static void |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String login,
String password,
boolean rememberMe,
String authType) |
static void |
logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static javax.servlet.http.HttpSession |
renewSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session) |
static void |
signOutSimultaneousLogins(long userId) |
public static AuthenticatedSessionManager getAuthenticatedSessionManager()
public static long getAuthenticatedUserId(javax.servlet.http.HttpServletRequest request, String login, String password, String authType) throws PortalException
PortalException
public static void login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String login, String password, boolean rememberMe, String authType) throws Exception
Exception
public static void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public static javax.servlet.http.HttpSession renewSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session) throws Exception
Exception
public static void signOutSimultaneousLogins(long userId) throws Exception
Exception