public class CsrfProperties extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
cookieName |
protected boolean |
enableSameSiteCookie |
protected boolean |
enableSecureCookie |
protected String |
sameSiteCookieOption |
protected String |
sameSiteCookieValue |
Constructor and Description |
---|
CsrfProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getCookieName() |
Integer |
getDenyStatus() |
List<String> |
getEntryPoints() |
Map<String,String> |
getInitParams() |
String |
getRandomClass() |
String |
getSameSiteCookieOption() |
String |
getSameSiteCookieValue() |
String |
getTargetOrigin() |
boolean |
isEnableSameSiteCookie() |
boolean |
isEnableSecureCookie() |
void |
setCookieName(String cookieName) |
void |
setDenyStatus(Integer denyStatus) |
void |
setEnableSameSiteCookie(boolean enableSameSiteCookie) |
void |
setEnableSecureCookie(boolean enableSecureCookie) |
void |
setEntryPoints(List<String> entryPoints) |
void |
setRandomClass(String randomClass) |
void |
setSameSiteCookieOption(String sameSiteCookieOption) |
void |
setSameSiteCookieValue(String sameSiteCookieValue) |
void |
setTargetOrigin(String targetOrigin) |
String |
toString() |
protected boolean enableSecureCookie
protected boolean enableSameSiteCookie
protected String sameSiteCookieOption
protected String sameSiteCookieValue
protected String cookieName
public String getTargetOrigin()
public void setTargetOrigin(String targetOrigin)
public Integer getDenyStatus()
public void setDenyStatus(Integer denyStatus)
public String getRandomClass()
public void setRandomClass(String randomClass)
public boolean isEnableSecureCookie()
public void setEnableSecureCookie(boolean enableSecureCookie)
public boolean isEnableSameSiteCookie()
public void setEnableSameSiteCookie(boolean enableSameSiteCookie)
public String getSameSiteCookieOption()
public void setSameSiteCookieOption(String sameSiteCookieOption)
public String getSameSiteCookieValue()
public void setSameSiteCookieValue(String sameSiteCookieValue)
public String getCookieName()
public void setCookieName(String cookieName)
Copyright © 2022. All rights reserved.