com.liferay.portal.action
Class LoginAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.action.LoginAction

public class LoginAction
extends org.apache.struts.action.Action

View Source

Author:
Brian Wing Shun Chan, Scott Lee

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
LoginAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static java.lang.String getLogin(javax.servlet.http.HttpServletRequest request, java.lang.String paramName, com.liferay.portal.model.Company company)
           
protected  void login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static void login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String login, java.lang.String password, boolean rememberMe)
           
static void sendPassword(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, 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

LoginAction

public LoginAction()
Method Detail

getLogin

public static java.lang.String getLogin(javax.servlet.http.HttpServletRequest request,
                                        java.lang.String paramName,
                                        com.liferay.portal.model.Company company)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

login

public static void login(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         java.lang.String login,
                         java.lang.String password,
                         boolean rememberMe)
                  throws java.lang.Exception
Throws:
java.lang.Exception

sendPassword

public static void sendPassword(javax.servlet.http.HttpServletRequest request)
                         throws java.lang.Exception
Throws:
java.lang.Exception

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Overrides:
execute in class org.apache.struts.action.Action
Throws:
java.lang.Exception

login

protected void login(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws java.lang.Exception
Throws:
java.lang.Exception