Package io.quarkus.vertx.http.runtime
Class SameSiteCookieConfig
- java.lang.Object
-
- io.quarkus.vertx.http.runtime.SameSiteCookieConfig
-
public class SameSiteCookieConfig extends Object
Configuration that allows for automatically setting the SameSite attribute on cookies As some API's (Servlet, JAX-RS) don't current support this attribute this config allows it to be set based on the cookie name pattern.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
addSecureForNone
If this is true then the 'secure' attribute will automatically be sent on cookies with a SameSite attribute of None.boolean
caseSensitive
If the cookie pattern is case-sensitiveboolean
enableClientChecker
Some User Agents break when sent SameSite=None, this will detect them and avoid sending the valueio.vertx.core.http.CookieSameSite
value
The value to set in the samesite attribute
-
Constructor Summary
Constructors Constructor Description SameSiteCookieConfig()
-
-
-
Field Detail
-
caseSensitive
@ConfigItem public boolean caseSensitive
If the cookie pattern is case-sensitive
-
value
@ConfigItem public io.vertx.core.http.CookieSameSite value
The value to set in the samesite attribute
-
enableClientChecker
@ConfigItem(defaultValue="true") public boolean enableClientChecker
Some User Agents break when sent SameSite=None, this will detect them and avoid sending the value
-
addSecureForNone
@ConfigItem(defaultValue="true") public boolean addSecureForNone
If this is true then the 'secure' attribute will automatically be sent on cookies with a SameSite attribute of None.
-
-