com.liferay.portal.security.auth
Class CASAutoLogin

java.lang.Object
  extended by com.liferay.portal.security.auth.CASAutoLogin
All Implemented Interfaces:
com.liferay.portal.security.auth.AutoLogin
Direct Known Subclasses:
RequestHeaderAutoLogin, SiteMinderAutoLogin

public class CASAutoLogin
extends java.lang.Object
implements com.liferay.portal.security.auth.AutoLogin

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer, Wesley Gong, Daeyoung Song

Field Summary
 
Fields inherited from interface com.liferay.portal.security.auth.AutoLogin
AUTO_LOGIN_REDIRECT, AUTO_LOGIN_REDIRECT_AND_CONTINUE
 
Constructor Summary
CASAutoLogin()
           
 
Method Summary
protected  com.liferay.portal.model.User addUser(long companyId, java.lang.String screenName)
          Deprecated. Use importLDAPUser.
protected  com.liferay.portal.model.User importLDAPUser(long ldapServerId, long companyId, java.lang.String emailAddress, java.lang.String screenName)
           
protected  com.liferay.portal.model.User importLDAPUser(long companyId, java.lang.String emailAddress, java.lang.String screenName)
           
 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

CASAutoLogin

public CASAutoLogin()
Method Detail

login

public java.lang.String[] login(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
Specified by:
login in interface com.liferay.portal.security.auth.AutoLogin

addUser

protected com.liferay.portal.model.User addUser(long companyId,
                                                java.lang.String screenName)
                                         throws java.lang.Exception
Deprecated. Use importLDAPUser.

Throws:
java.lang.Exception

importLDAPUser

protected com.liferay.portal.model.User importLDAPUser(long ldapServerId,
                                                       long companyId,
                                                       java.lang.String emailAddress,
                                                       java.lang.String screenName)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

importLDAPUser

protected com.liferay.portal.model.User importLDAPUser(long companyId,
                                                       java.lang.String emailAddress,
                                                       java.lang.String screenName)
                                                throws java.lang.Exception
Throws:
java.lang.Exception