FrameOptionsDsl

A Kotlin DSL to configure the HttpSecurity X-Frame-Options header using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.3

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

deny framing any content from this application.

Link copied to clipboard

allow any request that comes from the same origin to frame this application.

Functions

Link copied to clipboard
fun disable()

Disable the X-Frame-Options header.