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