@WebServlet(name="authenticate",
urlPatterns="/authenticate")
public class Authenticate
extends VitroHttpServlet
VitroHttpServlet.PickListSorter| Modifier and Type | Field and Description |
|---|---|
static String |
USER_SESSION_MAP_ATTR
Where do we find the User/Session map in the servlet context?
|
HTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPE| Constructor and Description |
|---|
Authenticate() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
doGet does nothing.
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Find out where they are in the login process, process any input, record
the new state, and show the next page.
|
static Map<String,javax.servlet.http.HttpSession> |
getUserURISessionMapFromContext(javax.servlet.ServletContext ctx)
The servlet context should contain a map from User URIs to
HttpSessions. |
static void |
sendLoginNotifyEvent(LoginLogoutEvent event,
javax.servlet.ServletContext context,
javax.servlet.http.HttpSession session)
Let everyone know that somebody has logged in or logged out.
|
dumpRequestParameters, isAuthorizedToDisplayPage, maximumMultipartFileSize, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList, stashFileSizeExceptiondoDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic static final String USER_SESSION_MAP_ATTR
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
doPost in class VitroHttpServletpublic static Map<String,javax.servlet.http.HttpSession> getUserURISessionMapFromContext(javax.servlet.ServletContext ctx)
HttpSessions. Get a reference to it, creating it if necessary.public static void sendLoginNotifyEvent(LoginLogoutEvent event, javax.servlet.ServletContext context, javax.servlet.http.HttpSession session)
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
VitroHttpServletdoGet in class VitroHttpServletIOExceptionjavax.servlet.ServletExceptionCopyright © 2021. All rights reserved.