@Config(value="xsrf") public static class WebSecurityConfig.XSRFConfig extends Object
Constructor and Description |
---|
XSRFConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
String |
getCookieName() |
String |
getCookiePath() |
String |
getCookieSameSite() |
String |
getHeaderName() |
List<String> |
getIgnoreHttpMethods() |
int |
getLength() |
String |
getParamName() |
boolean |
isCookieHttpOnly() |
boolean |
isPerRequestToken() |
WebSecurityConfig.XSRFConfig |
setAlgorithm(String algorithm) |
WebSecurityConfig.XSRFConfig |
setCookieHttpOnly(boolean cookieHttpOnly) |
WebSecurityConfig.XSRFConfig |
setCookieName(String cookieName) |
WebSecurityConfig.XSRFConfig |
setCookiePath(String cookiePath) |
WebSecurityConfig.XSRFConfig |
setCookieSameSite(String cookieSameSite) |
WebSecurityConfig.XSRFConfig |
setHeaderName(String headerName) |
WebSecurityConfig.XSRFConfig |
setIgnoreHttpMethods(List<String> ignoreHttpMethods) |
WebSecurityConfig.XSRFConfig |
setLength(int length) |
WebSecurityConfig.XSRFConfig |
setParamName(String paramName) |
WebSecurityConfig.XSRFConfig |
setPerRequestToken(boolean perRequestToken) |
public String getCookieName()
public WebSecurityConfig.XSRFConfig setCookieName(String cookieName)
public String getHeaderName()
public WebSecurityConfig.XSRFConfig setHeaderName(String headerName)
public String getAlgorithm()
public WebSecurityConfig.XSRFConfig setAlgorithm(String algorithm)
public int getLength()
public WebSecurityConfig.XSRFConfig setLength(int length)
public boolean isPerRequestToken()
public WebSecurityConfig.XSRFConfig setPerRequestToken(boolean perRequestToken)
public String getCookiePath()
public WebSecurityConfig.XSRFConfig setCookiePath(String cookiePath)
public String getCookieSameSite()
public WebSecurityConfig.XSRFConfig setCookieSameSite(String cookieSameSite)
public boolean isCookieHttpOnly()
public WebSecurityConfig.XSRFConfig setCookieHttpOnly(boolean cookieHttpOnly)
public String getParamName()
public WebSecurityConfig.XSRFConfig setParamName(String paramName)
public WebSecurityConfig.XSRFConfig setIgnoreHttpMethods(List<String> ignoreHttpMethods)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.