com.liferay.portal.security.auth
Class SessionAuthToken
java.lang.Object
com.liferay.portal.security.auth.SessionAuthToken
- All Implemented Interfaces:
- AuthToken
public class SessionAuthToken
- extends Object
- implements AuthToken
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionAuthToken
public SessionAuthToken()
check
@Deprecated
public void check(javax.servlet.http.HttpServletRequest request)
throws PrincipalException
- Deprecated. As of 7.0.0
- Specified by:
check in interface AuthToken
- Throws:
PrincipalException
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
getSessionAuthenticationToken
protected String getSessionAuthenticationToken(javax.servlet.http.HttpServletRequest request,
String key,
boolean createToken)