Class AdminLoginController
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.authenticate.AdminLoginController
-
- All Implemented Interfaces:
MultipartRequestWrapper.ParsingStrategy,Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@WebServlet(name="adminLogin", urlPatterns="/admin/login") public class AdminLoginController extends FreemarkerHttpServletProvide a "hidden" login page for systems where the Login Widget has been modified to only show the link to an External Authentication system. This page is only hidden because there is no link to it. Anyone who knows the URL can come here, but they need to pass Internal Authentication to proceed.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet
FreemarkerHttpServlet.Template
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
VitroHttpServlet.PickListSorter
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAMETER_CONFIRM_PASSWORDstatic StringPARAMETER_EMAIL_ADDRESSstatic StringPARAMETER_NEW_PASSWORDstatic StringPARAMETER_PASSWORDstatic StringTEMPLATE_NAMEstatic StringURL_HOME_PAGEstatic StringURL_THIS-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet
BODY_TEMPLATE_TYPE, PAGE_TEMPLATE_TYPE
-
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 AdminLoginController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResponseValuesprocessRequest(VitroRequest vreq)protected AuthorizationRequestrequiredActions(VitroRequest vreq)By default, a page requires authorization for no actions.-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet
doException, doForward, doGet, doPost, doRdf, doRedirect, doResponse, doTemplate, getBeansWrapper, getDisplayModelMenu, getFreemarkerComponentsForJsp, getPageTemplateName, getPageTemplateValues, getThemeDir, getTitle, handleException, processTemplate, processTemplateToString, wrap, wrap, write, writePage, writeTemplate, writeTemplate
-
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
-
PARAMETER_EMAIL_ADDRESS
public static final String PARAMETER_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
PARAMETER_PASSWORD
public static final String PARAMETER_PASSWORD
- See Also:
- Constant Field Values
-
PARAMETER_NEW_PASSWORD
public static final String PARAMETER_NEW_PASSWORD
- See Also:
- Constant Field Values
-
PARAMETER_CONFIRM_PASSWORD
public static final String PARAMETER_CONFIRM_PASSWORD
- See Also:
- Constant Field Values
-
URL_THIS
public static final String URL_THIS
- See Also:
- Constant Field Values
-
URL_HOME_PAGE
public static final String URL_HOME_PAGE
- See Also:
- Constant Field Values
-
TEMPLATE_NAME
public static final String TEMPLATE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
requiredActions
protected AuthorizationRequest requiredActions(VitroRequest vreq)
Description copied from class:FreemarkerHttpServletBy default, a page requires authorization for no actions. Subclasses that require authorization to process their page will override to return the actions that require authorization. In some cases, the choice of actions will depend on the contents of the request. NB This method can't be static, because then the superclass method gets called rather than the subclass method. For the same reason, it can't refer to a static or instance field REQUIRED_ACTIONS which is overridden in the subclass.- Overrides:
requiredActionsin classFreemarkerHttpServlet
-
processRequest
protected ResponseValues processRequest(VitroRequest vreq)
- Overrides:
processRequestin classFreemarkerHttpServlet
-
-