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 req, javax.servlet.http.HttpServletResponse res)
           
static java.lang.String getLogin(javax.servlet.http.HttpServletRequest req, java.lang.String paramName, com.liferay.portal.model.Company company)
           
protected  void login(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
static void login(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String login, java.lang.String password, boolean rememberMe)
           
protected  void sendPassword(javax.servlet.http.HttpServletRequest req)
           
 
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 req,
                                        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 req,
                         javax.servlet.http.HttpServletResponse res,
                         java.lang.String login,
                         java.lang.String password,
                         boolean rememberMe)
                  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 req,
                                                      javax.servlet.http.HttpServletResponse res)
                                               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 req,
                     javax.servlet.http.HttpServletResponse res)
              throws java.lang.Exception
Throws:
java.lang.Exception

sendPassword

protected void sendPassword(javax.servlet.http.HttpServletRequest req)
                     throws java.lang.Exception
Throws:
java.lang.Exception