com.liferay.portal.security.auth
Class AuthTokenWrapper
java.lang.Object
com.liferay.portal.security.auth.AuthTokenWrapper
- All Implemented Interfaces:
- AuthToken
public class AuthTokenWrapper
- extends Object
- implements AuthToken
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthTokenWrapper
public AuthTokenWrapper(AuthToken authToken)
check
public void check(javax.servlet.http.HttpServletRequest request)
throws PortalException
- Deprecated. As of 6.2.0, replaced by
checkCSRFToken(HttpServletRequest, String)
- Specified by:
check in interface AuthToken
- Throws:
PortalException
checkCSRFToken
public void checkCSRFToken(javax.servlet.http.HttpServletRequest request,
String origin)
throws PrincipalException
- Specified by:
checkCSRFToken in interface AuthToken
- Throws:
PrincipalException
getToken
public String getToken(javax.servlet.http.HttpServletRequest request)
- Specified by:
getToken in interface AuthToken
getToken
public String getToken(javax.servlet.http.HttpServletRequest request,
long plid,
String portletId)
- Specified by:
getToken in interface AuthToken
isValidPortletInvocationToken
public boolean isValidPortletInvocationToken(javax.servlet.http.HttpServletRequest request,
long plid,
String portletId,
String strutsAction,
String tokenValue)
- Specified by:
isValidPortletInvocationToken in interface AuthToken
setAuthToken
public void setAuthToken(AuthToken authToken)