com.xpn.xwiki.web
Class LoginSubmitAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.xpn.xwiki.web.XWikiAction
          extended by com.xpn.xwiki.web.LoginSubmitAction

public class LoginSubmitAction
extends XWikiAction

Action for processing login requests sent using the normal web login form. The actual login request processing is done before this action is invoked, the URL will trigger the authenticator automatically. If the authentication was successful, then a proper user is set in the context, and the login.vm template will redirect to the view mode.

Version:
$Id: f0273a7dd2bd260b12c7ac236dff3b59001181ad $

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
LoginSubmitAction()
           
 
Method Summary
 String render(XWikiContext context)
           
 
Methods inherited from class com.xpn.xwiki.web.XWikiAction
action, cleanupComponents, csrfTokenCheck, execute, execute, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, sendGlobalRedirect, sendRedirect
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginSubmitAction

public LoginSubmitAction()
Method Detail

render

public String render(XWikiContext context)
              throws XWikiException
Overrides:
render in class XWikiAction
Throws:
XWikiException


Copyright © 2004–2014 XWiki. All rights reserved.