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)
CsrfTokenGenerator
get
in interface CsrfTokenGenerator
context
- the current web contextCopyright © 2017. All rights reserved.