public interface AuthToken
Modifier and Type | Method and Description |
---|---|
void |
addCSRFToken(javax.servlet.http.HttpServletRequest request,
LiferayPortletURL liferayPortletURL) |
void |
addPortletInvocationToken(javax.servlet.http.HttpServletRequest request,
LiferayPortletURL liferayPortletURL) |
void |
check(javax.servlet.http.HttpServletRequest request)
Deprecated.
As of Wilberforce (7.0.x), 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,
Layout layout,
Portlet portlet) |
boolean |
isValidPortletInvocationToken(javax.servlet.http.HttpServletRequest request,
long plid,
String portletId,
String strutsAction,
String tokenValue)
Deprecated.
As of Wilberforce (7.0.x), replaced by
isValidPortletInvocationToken(HttpServletRequest, Layout,
Portlet) |
void addCSRFToken(javax.servlet.http.HttpServletRequest request, LiferayPortletURL liferayPortletURL)
void addPortletInvocationToken(javax.servlet.http.HttpServletRequest request, LiferayPortletURL liferayPortletURL)
@Deprecated void check(javax.servlet.http.HttpServletRequest request) throws PortalException
checkCSRFToken(HttpServletRequest, String)
PortalException
void checkCSRFToken(javax.servlet.http.HttpServletRequest request, String origin) throws PrincipalException
PrincipalException
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, Layout layout, Portlet portlet)
@Deprecated boolean isValidPortletInvocationToken(javax.servlet.http.HttpServletRequest request, long plid, String portletId, String strutsAction, String tokenValue)
isValidPortletInvocationToken(HttpServletRequest, Layout,
Portlet)