public class AuthenticatedSessionManagerImpl
extends java.lang.Object
implements com.liferay.portal.kernel.security.auth.session.AuthenticatedSessionManager
| Constructor and Description |
|---|
AuthenticatedSessionManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String cookieName,
java.lang.String domain) |
long |
getAuthenticatedUserId(javax.servlet.http.HttpServletRequest request,
java.lang.String login,
java.lang.String password,
java.lang.String authType) |
void |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String login,
java.lang.String password,
boolean rememberMe,
java.lang.String authType) |
void |
logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
javax.servlet.http.HttpSession |
renewSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session) |
void |
signOutSimultaneousLogins(long userId) |
public long getAuthenticatedUserId(javax.servlet.http.HttpServletRequest request,
java.lang.String login,
java.lang.String password,
java.lang.String authType)
throws com.liferay.portal.kernel.exception.PortalException
getAuthenticatedUserId in interface com.liferay.portal.kernel.security.auth.session.AuthenticatedSessionManagercom.liferay.portal.kernel.exception.PortalExceptionpublic void login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String login,
java.lang.String password,
boolean rememberMe,
java.lang.String authType)
throws java.lang.Exception
login in interface com.liferay.portal.kernel.security.auth.session.AuthenticatedSessionManagerjava.lang.Exceptionpublic void logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
logout in interface com.liferay.portal.kernel.security.auth.session.AuthenticatedSessionManagerjava.lang.Exceptionpublic javax.servlet.http.HttpSession renewSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session)
throws java.lang.Exception
renewSession in interface com.liferay.portal.kernel.security.auth.session.AuthenticatedSessionManagerjava.lang.Exceptionpublic void signOutSimultaneousLogins(long userId)
throws java.lang.Exception
signOutSimultaneousLogins in interface com.liferay.portal.kernel.security.auth.session.AuthenticatedSessionManagerjava.lang.Exceptionprotected void deleteCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String cookieName,
java.lang.String domain)