@ConfigurationProperties(prefix = "grails.security.headers") public class GrailsSecurityHeadersProperties extends java.lang.Object
Configuration for the browser hardening response headers Grails sends by default,
bound from grails.security.headers.*.
| Modifiers | Name | Description |
|---|---|---|
enum |
GrailsSecurityHeadersProperties.Defaults |
Controls when the built-in default header values are applied. |
static class |
GrailsSecurityHeadersProperties.Header |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Whether the security headers filter is active. The auto-configuration does not
register the filter when this is false; a GrailsSecurityHeadersFilter
constructed directly honors it too and passes requests through untouched.