Liferay 6.2-ce-ga5

com.liferay.portal.security.auth
Interface AuthToken

All Known Implementing Classes:
AuthTokenWrapper

public interface AuthToken


Method Summary
 void check(javax.servlet.http.HttpServletRequest request)
          Deprecated. As of 6.2.0, replaced by checkCSRFToken(HttpServletRequest, String)
 void checkCSRFToken(javax.servlet.http.HttpServletRequest request, String origin)
           
 String getToken(javax.servlet.http.HttpServletRequest request)
           
 String getToken(javax.servlet.http.HttpServletRequest request, long plid, String portletId)
           
 boolean isValidPortletInvocationToken(javax.servlet.http.HttpServletRequest request, long plid, String portletId, String strutsAction, String tokenValue)
           
 

Method Detail

check

void check(javax.servlet.http.HttpServletRequest request)
           throws PortalException
Deprecated. As of 6.2.0, replaced by checkCSRFToken(HttpServletRequest, String)

Throws:
PortalException

checkCSRFToken

void checkCSRFToken(javax.servlet.http.HttpServletRequest request,
                    String origin)
                    throws PrincipalException
Throws:
PrincipalException

getToken

String getToken(javax.servlet.http.HttpServletRequest request)

getToken

String getToken(javax.servlet.http.HttpServletRequest request,
                long plid,
                String portletId)

isValidPortletInvocationToken

boolean isValidPortletInvocationToken(javax.servlet.http.HttpServletRequest request,
                                      long plid,
                                      String portletId,
                                      String strutsAction,
                                      String tokenValue)

Liferay 6.2-ce-ga5