com.liferay.portlet.login.util
Class LoginUtil

java.lang.Object
  extended by com.liferay.portlet.login.util.LoginUtil

public class LoginUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Scott Lee

Constructor Summary
LoginUtil()
           
 
Method Summary
static java.lang.String getLogin(javax.servlet.http.HttpServletRequest request, java.lang.String paramName, com.liferay.portal.model.Company company)
           
static javax.portlet.PortletURL getLoginURL(javax.servlet.http.HttpServletRequest request, long plid)
           
static void login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String login, java.lang.String password, boolean rememberMe, java.lang.String authType)
           
static void sendPassword(javax.portlet.ActionRequest actionRequest)
           
static void sendPassword(javax.portlet.ActionRequest actionRequest, java.lang.String fromName, java.lang.String fromAddress, java.lang.String toAddress, java.lang.String subject, java.lang.String body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginUtil

public LoginUtil()
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.SystemException
Throws:
com.liferay.portal.SystemException

getLoginURL

public static javax.portlet.PortletURL getLoginURL(javax.servlet.http.HttpServletRequest request,
                                                   long plid)
                                            throws javax.portlet.PortletModeException,
                                                   javax.portlet.WindowStateException
Throws:
javax.portlet.PortletModeException
javax.portlet.WindowStateException

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,
                         java.lang.String authType)
                  throws java.lang.Exception
Throws:
java.lang.Exception

sendPassword

public static void sendPassword(javax.portlet.ActionRequest actionRequest)
                         throws java.lang.Exception
Throws:
java.lang.Exception

sendPassword

public static void sendPassword(javax.portlet.ActionRequest actionRequest,
                                java.lang.String fromName,
                                java.lang.String fromAddress,
                                java.lang.String toAddress,
                                java.lang.String subject,
                                java.lang.String body)
                         throws java.lang.Exception
Throws:
java.lang.Exception