com.liferay.portal.kernel.security.auth.session
Class AuthenticatedSessionManagerUtil
java.lang.Object
com.liferay.portal.kernel.security.auth.session.AuthenticatedSessionManagerUtil
public class AuthenticatedSessionManagerUtil
- extends Object
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAuthenticatedSessionManager
public static AuthenticatedSessionManager getAuthenticatedSessionManager()
getAuthenticatedUserId
public static long getAuthenticatedUserId(javax.servlet.http.HttpServletRequest request,
String login,
String password,
String authType)
throws PortalException
- Throws:
PortalException
login
public static void login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String login,
String password,
boolean rememberMe,
String authType)
throws Exception
- Throws:
Exception
logout
public static void logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
renewSession
public static javax.servlet.http.HttpSession renewSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session)
throws Exception
- Throws:
Exception
signOutSimultaneousLogins
public static void signOutSimultaneousLogins(long userId)
throws Exception
- Throws:
Exception