public class LoginServlet
extends org.exoplatform.container.web.AbstractHttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
COOKIE_NAME
.
|
static String |
OAUTH_COOKIE_NAME |
static String |
SESSION_ATTRIBUTE_REMEMBER_ME |
| Constructor and Description |
|---|
LoginServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterInit(javax.servlet.ServletConfig config)
Register WCI authentication listener, which is used to bind credentials to temporary authentication registry after each
successful login
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
static String |
getOauthRememberMeTokenCookie(javax.servlet.http.HttpServletRequest req) |
static String |
getRememberMeTokenCookie(javax.servlet.http.HttpServletRequest req)
Extract the remember me token from the request or returns null.
|
getContainer, getServletContext, init, onPortalEnvironmentError, onService, requirePortalEnvironment, servicedoDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic static final String COOKIE_NAME
public static final String OAUTH_COOKIE_NAME
public static final String SESSION_ATTRIBUTE_REMEMBER_ME
protected void afterInit(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
afterInit in class org.exoplatform.container.web.AbstractHttpServletconfig - javax.servlet.ServletExceptionpublic static String getRememberMeTokenCookie(javax.servlet.http.HttpServletRequest req)
req - the incoming requestpublic static String getOauthRememberMeTokenCookie(javax.servlet.http.HttpServletRequest req)
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2016 JBoss by Red Hat. All Rights Reserved.