com.liferay.portal.security.auth
Class BaseAutoLogin

java.lang.Object
  extended by com.liferay.portal.security.auth.BaseAutoLogin
All Implemented Interfaces:
AutoLogin

public abstract class BaseAutoLogin
extends java.lang.Object
implements AutoLogin

Author:
Mate Thurzo

Field Summary
 
Fields inherited from interface com.liferay.portal.security.auth.AutoLogin
AUTO_LOGIN_REDIRECT, AUTO_LOGIN_REDIRECT_AND_CONTINUE
 
Constructor Summary
BaseAutoLogin()
           
 
Method Summary
protected  java.lang.String[] doHandleException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e)
           
protected abstract  java.lang.String[] doLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 java.lang.String[] handleException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e)
           
 java.lang.String[] login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAutoLogin

public BaseAutoLogin()
Method Detail

handleException

public java.lang.String[] handleException(javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response,
                                          java.lang.Exception e)
                                   throws AutoLoginException
Specified by:
handleException in interface AutoLogin
Throws:
AutoLoginException

login

public java.lang.String[] login(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws AutoLoginException
Specified by:
login in interface AutoLogin
Throws:
AutoLoginException

doHandleException

protected java.lang.String[] doHandleException(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response,
                                               java.lang.Exception e)
                                        throws AutoLoginException
Throws:
AutoLoginException

doLogin

protected abstract java.lang.String[] doLogin(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response)
                                       throws java.lang.Exception
Throws:
java.lang.Exception