Package io.quarkus.vertx.http.runtime
Class SameSiteCookieConfig
java.lang.Object
io.quarkus.vertx.http.runtime.SameSiteCookieConfig
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
FieldsModifier and TypeFieldDescriptionbooleanIf this is true then the 'secure' attribute will automatically be sent on cookies with a SameSite attribute of None.booleanIf the cookie pattern is case-sensitivebooleanSome User Agents break when sent SameSite=None, this will detect them and avoid sending the valueio.vertx.core.http.CookieSameSiteThe value to set in the samesite attribute -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
caseSensitive
If the cookie pattern is case-sensitive -
value
The value to set in the samesite attribute -
enableClientChecker
Some User Agents break when sent SameSite=None, this will detect them and avoid sending the value -
addSecureForNone
If this is true then the 'secure' attribute will automatically be sent on cookies with a SameSite attribute of None.
-
-
Constructor Details
-
SameSiteCookieConfig
public SameSiteCookieConfig()
-