クラス NoOpServerSecurityContextRepository
java.lang.ObjectSE
org.springframework.security.web.server.context.NoOpServerSecurityContextRepository
- 実装済みのインターフェース一覧:
ServerSecurityContextRepository
public final class NoOpServerSecurityContextRepository
extends ObjectSE
implements ServerSecurityContextRepository
ServerSecurityContextRepository の何もしない実装。ステートレスアプリケーションで使用されます。- 導入:
- 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, @Nullable SecurityContext context) SecurityContext を保存します
方法の詳細
save
public reactor.core.publisher.Mono<VoidSE> save(org.springframework.web.server.ServerWebExchange exchange, @Nullable SecurityContext context) インターフェースからコピーされた説明:ServerSecurityContextRepositorySecurityContext を保存します- 次で指定:
- インターフェース
ServerSecurityContextRepository内のsave - パラメーター:
exchange- SecurityContext に関連付ける交換context- 保存する SecurityContext- 戻り値:
- 完了通知 (成功またはエラー)
load
public reactor.core.publisher.Mono<SecurityContext> load(org.springframework.web.server.ServerWebExchange exchange) インターフェースからコピーされた説明:ServerSecurityContextRepositoryServerWebExchangeに関連付けられた SecurityContext をロードします- 次で指定:
- インターフェース
ServerSecurityContextRepository内のload - パラメーター:
exchange-SecurityContextを検索する交換- 戻り値:
- 検索する
SecurityContext。見つからない場合は空。null しない
getInstance