Class Authenticate
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.edit.Authenticate
-
- All Implemented Interfaces:
MultipartRequestWrapper.ParsingStrategy,Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@WebServlet(name="authenticate", urlPatterns="/authenticate") public class Authenticate extends VitroHttpServlet- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
VitroHttpServlet.PickListSorter
-
-
Field Summary
Fields Modifier and Type Field Description static StringUSER_SESSION_MAP_ATTRWhere do we find the User/Session map in the servlet context?-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
HTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPE
-
-
Constructor Summary
Constructors Constructor Description Authenticate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)doGet does nothing.voiddoPost(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 toHttpSessions.static voidsendLoginNotifyEvent(LoginLogoutEvent event, javax.servlet.ServletContext context, javax.servlet.http.HttpSession session)Let everyone know that somebody has logged in or logged out.-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
dumpRequestParameters, isAuthorizedToDisplayPage, maximumMultipartFileSize, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList, stashFileSizeException
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Field Detail
-
USER_SESSION_MAP_ATTR
public static final String USER_SESSION_MAP_ATTR
Where do we find the User/Session map in the servlet context?- See Also:
- Constant Field Values
-
-
Method Detail
-
doPost
public 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.- Overrides:
doPostin classVitroHttpServlet
-
getUserURISessionMapFromContext
public static Map<String,javax.servlet.http.HttpSession> getUserURISessionMapFromContext(javax.servlet.ServletContext ctx)
The servlet context should contain a map from User URIs toHttpSessions. Get a reference to it, creating it if necessary.
-
sendLoginNotifyEvent
public 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.
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletExceptionDescription copied from class:VitroHttpServletdoGet does nothing.- Overrides:
doGetin classVitroHttpServlet- Throws:
IOExceptionjavax.servlet.ServletException
-
-