public class DefaultCsrfTokenGenerator extends java.lang.Object implements CsrfTokenGenerator
| Constructor and Description |
|---|
DefaultCsrfTokenGenerator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(WebContext context)
Get the CSRF token from the session or create it if it doesn't exist.
|
public java.lang.String get(WebContext context)
CsrfTokenGeneratorget in interface CsrfTokenGeneratorcontext - the current web contextCopyright © 2018. All Rights Reserved.