クラス HttpStatusReturningServerLogoutSuccessHandler

java.lang.ObjectSE
org.springframework.security.web.server.authentication.logout.HttpStatusReturningServerLogoutSuccessHandler
実装されたすべてのインターフェース:
ServerLogoutSuccessHandler

public class HttpStatusReturningServerLogoutSuccessHandler extends ObjectSE implements ServerLogoutSuccessHandler
ServerLogoutSuccessHandler の実装。デフォルトでは、200 の HTTP ステータスコードを返します。これは、ログアウトが成功したときのリダイレクトが望ましくない REST 型のシナリオで役立ちます。
導入:
5.1
  • コンストラクターの詳細

    • HttpStatusReturningServerLogoutSuccessHandler

      public HttpStatusReturningServerLogoutSuccessHandler(org.springframework.http.HttpStatus httpStatusToReturn)
      ユーザー定義の HttpStatus で HttpStatusReturningServerLogoutSuccessHandler を初期化します。
      パラメーター:
      httpStatusToReturn - null であってはなりません。
    • HttpStatusReturningServerLogoutSuccessHandler

      public HttpStatusReturningServerLogoutSuccessHandler()
      HttpStatusReturningServerLogoutSuccessHandler をデフォルトの HttpStatus.OK で初期化します。
  • メソッドの詳細