インターフェース ServerSecurityContextRepository

すべての既知の実装クラス:
NoOpServerSecurityContextRepositoryWebSessionServerSecurityContextRepository

public interface ServerSecurityContextRepository
リクエスト間で SecurityContext を永続化するために使用される戦略。
導入:
5.0
関連事項:
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    reactor.core.publisher.Mono<SecurityContext>
    load(org.springframework.web.server.ServerWebExchange exchange)
    ServerWebExchange に関連付けられた SecurityContext をロードします
    reactor.core.publisher.Mono<VoidSE>
    save(org.springframework.web.server.ServerWebExchange exchange, SecurityContext context)
    SecurityContext を保存します
  • メソッドの詳細

    • save

      reactor.core.publisher.Mono<VoidSE> save(org.springframework.web.server.ServerWebExchange exchange, SecurityContext context)
      SecurityContext を保存します
      パラメーター:
      exchange - SecurityContext に関連付ける交換
      context - 保存する SecurityContext
      戻り値:
      完了通知 (成功またはエラー)
    • load

      reactor.core.publisher.Mono<SecurityContext> load(org.springframework.web.server.ServerWebExchange exchange)
      ServerWebExchange に関連付けられた SecurityContext をロードします
      パラメーター:
      exchange - SecurityContext を検索する交換
      戻り値:
      検索する SecurityContext。見つからない場合は空。null しない