クラス ServerHttpSecurity.HeaderSpec.XssProtectionSpec
java.lang.ObjectSE
org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.XssProtectionSpec
- 含まれているクラス:
- ServerHttpSecurity.HeaderSpec
x-xss-protection レスポンスヘッダーを構成します
メソッドのサマリー
メソッドの詳細
disable
x-xss-protection レスポンスヘッダーを無効にします- 戻り値:
ServerHttpSecurity.HeaderSpec
の構成を続行するには
headerValue
public ServerHttpSecurity.HeaderSpec headerValue(XXssProtectionServerHttpHeadersWriter.HeaderValue headerValue) x-xss-protection ヘッダーの値を設定します。OWASP はXXssProtectionServerHttpHeadersWriter.HeaderValue.DISABLED
の使用を推奨しています。- パラメーター:
headerValue
- ヘッダー値- 戻り値:
ServerHttpSecurity.HeaderSpec
の構成を続行するには- 導入:
- 5.8