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