Class ServerHttpSecurity.HeaderSpec.FrameOptionsSpec
java.lang.Object
org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.FrameOptionsSpec
- Enclosing class:
- ServerHttpSecurity.HeaderSpec
Configures frame options response header
-
Method Summary
Modifier and TypeMethodDescriptiondisable()
Disables frame options response headerThe mode to configure.
-
Method Details
-
mode
The mode to configure. Default isXFrameOptionsServerHttpHeadersWriter.Mode.DENY
- Parameters:
mode
- the mode to use- Returns:
- the
ServerHttpSecurity.HeaderSpec
to configure
-
disable
Disables frame options response header- Returns:
- the
ServerHttpSecurity.HeaderSpec
to continue configuring
-