com.liferay.portal.security.auth
Class BaseAutoLogin
java.lang.Object
com.liferay.portal.security.auth.BaseAutoLogin
- All Implemented Interfaces:
- AuthVerifier, AutoLogin
- Direct Known Subclasses:
- BasicAuthHeaderAutoLogin, CASAutoLogin, FacebookAutoLogin, NtlmAutoLogin, OpenIdAutoLogin, OpenSSOAutoLogin, ParameterAutoLogin, RememberMeAutoLogin, RequestHeaderAutoLogin, SiteMinderAutoLogin
public abstract class BaseAutoLogin
- extends Object
- implements AuthVerifier, AutoLogin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseAutoLogin
public BaseAutoLogin()
getAuthType
public String getAuthType()
- Specified by:
getAuthType in interface AuthVerifier
handleException
public String[] handleException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Exception e)
throws AutoLoginException
- Specified by:
handleException in interface AutoLogin
- Throws:
AutoLoginException
login
public String[] login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws AutoLoginException
- Specified by:
login in interface AutoLogin
- Throws:
AutoLoginException
verify
public AuthVerifierResult verify(AccessControlContext accessControlContext,
Properties properties)
throws AuthException
- Specified by:
verify in interface AuthVerifier
- Throws:
AuthException
addRedirect
protected void addRedirect(javax.servlet.http.HttpServletRequest request)
doHandleException
protected String[] doHandleException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Exception e)
throws AutoLoginException
- Throws:
AutoLoginException
doLogin
protected abstract String[] doLogin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception