com.liferay.portal.security.auth
Class SessionAuthToken

java.lang.Object
  extended by com.liferay.portal.security.auth.SessionAuthToken
All Implemented Interfaces:
com.liferay.portal.security.auth.AuthToken

public class SessionAuthToken
extends java.lang.Object
implements com.liferay.portal.security.auth.AuthToken

Author:
Amos Fong

Constructor Summary
SessionAuthToken()
           
 
Method Summary
 void check(javax.servlet.http.HttpServletRequest request)
           
protected  java.lang.String getSessionAuthenticationToken(javax.servlet.http.HttpServletRequest request, java.lang.String key)
           
 java.lang.String getToken(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getToken(javax.servlet.http.HttpServletRequest request, long plid, java.lang.String portletId)
           
protected  boolean isIgnoreAction(javax.servlet.http.HttpServletRequest request)
           
protected  boolean isIgnoreAction(long companyId, java.lang.String ppid, java.lang.String strutsAction)
           
protected  boolean isIgnorePortlet(javax.servlet.http.HttpServletRequest request)
           
protected  boolean isIgnorePortlet(java.lang.String portletId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionAuthToken

public SessionAuthToken()
Method Detail

check

public void check(javax.servlet.http.HttpServletRequest request)
           throws com.liferay.portal.security.auth.PrincipalException
Specified by:
check in interface com.liferay.portal.security.auth.AuthToken
Throws:
com.liferay.portal.security.auth.PrincipalException

getToken

public java.lang.String getToken(javax.servlet.http.HttpServletRequest request)
Specified by:
getToken in interface com.liferay.portal.security.auth.AuthToken

getToken

public java.lang.String getToken(javax.servlet.http.HttpServletRequest request,
                                 long plid,
                                 java.lang.String portletId)
Specified by:
getToken in interface com.liferay.portal.security.auth.AuthToken

getSessionAuthenticationToken

protected java.lang.String getSessionAuthenticationToken(javax.servlet.http.HttpServletRequest request,
                                                         java.lang.String key)

isIgnoreAction

protected boolean isIgnoreAction(javax.servlet.http.HttpServletRequest request)

isIgnoreAction

protected boolean isIgnoreAction(long companyId,
                                 java.lang.String ppid,
                                 java.lang.String strutsAction)

isIgnorePortlet

protected boolean isIgnorePortlet(javax.servlet.http.HttpServletRequest request)

isIgnorePortlet

protected boolean isIgnorePortlet(java.lang.String portletId)