Package org.springframework.security.web.header.writers
package org.springframework.security.web.header.writers
-
ClassDescriptionInserts headers to prevent caching if no cache control headers have been specified.Provides support for Clear Site Data.Represents the directive values expected by the
ClearSiteDataHeaderWriter
.AHeaderWriter
that delegates to several otherHeaderWriter
s.Provides support for Content Security Policy (CSP) Level 2.Inserts Cross-Origin-Embedder-Policy header.Inserts the Cross-Origin-Opener-Policy headerInserts Cross-Origin-Resource-Policy headerDelegates to the providedHeaderWriter
whenRequestMatcher.matches(HttpServletRequest)
returns true.Provides support for Feature Policy.Provides support for HTTP Public Key Pinning (HPKP).Provides support for HTTP Strict Transport Security (HSTS).Provides support for Permisisons Policy.Provides support for Referrer Policy.HeaderWriter
implementation which writes the sameHeader
instance.AStaticHeadersWriter
that inserts headers to prevent content sniffing.Renders the X-XSS-Protection header.