Package io.quarkus.vertx.http.runtime
Interface SameSiteCookieConfig
public interface 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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf 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.CookieSameSitevalue()The value to set in the samesite attribute
-
Method Details
-
caseSensitive
@WithDefault("false") boolean caseSensitive()If the cookie pattern is case-sensitive -
value
io.vertx.core.http.CookieSameSite value()The value to set in the samesite attribute -
enableClientChecker
@WithDefault("true") boolean enableClientChecker()Some User Agents break when sent SameSite=None, this will detect them and avoid sending the value -
addSecureForNone
@WithDefault("true") boolean addSecureForNone()If this is true then the 'secure' attribute will automatically be sent on cookies with a SameSite attribute of None.
-