| Constructor and Description |
|---|
CSRFTokenRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected CSRFToken |
generateNewToken()
Generates a new
CSRFToken. |
CSRFToken |
getToken(javax.servlet.http.HttpServletRequest request)
Returns the
CSRFToken associated with the given request. |
public CSRFToken getToken(javax.servlet.http.HttpServletRequest request)
CSRFToken associated with the given request.
The default implementation stores the token itself in the HttpSession, generating a new one, if no token is
currently associated.request - The request for which to return the tokenCopyright © 2018 FenixEdu. All rights reserved.