| Package | Description |
|---|---|
| io.knotx.server.configuration |
| Modifier and Type | Method and Description |
|---|---|
KnotxCSRFOptions |
KnotxServerOptions.getCsrfConfig() |
KnotxCSRFOptions |
KnotxCSRFOptions.setCookieName(String cookieName)
Set the name of the CSRF cookie
|
KnotxCSRFOptions |
KnotxCSRFOptions.setCookiePath(String cookiePath)
Set of the path of the CSRF cookie
|
KnotxCSRFOptions |
KnotxCSRFOptions.setHeaderName(String headerName)
Set the CSRF token header name
|
KnotxCSRFOptions |
KnotxCSRFOptions.setSecret(String secret)
Set the secret used to generate CSRF token
|
KnotxCSRFOptions |
KnotxCSRFOptions.setTimeout(long timeout)
Set the timeout of the CSRF token
|
| Modifier and Type | Method and Description |
|---|---|
KnotxServerOptions |
KnotxServerOptions.setCsrfConfig(KnotxCSRFOptions csrfConfig)
Set the CSRF configuration of the Knot.x server
|
| Constructor and Description |
|---|
KnotxCSRFOptions(KnotxCSRFOptions other)
Copy constructor
|
Copyright © 2016–2020. All rights reserved.