クラス DPoPProofJwtDecoderFactory
java.lang.ObjectSE
org.springframework.security.oauth2.jwt.DPoPProofJwtDecoderFactory
- 実装済みのインターフェース一覧:
JwtDecoderFactory<DPoPProofContext>
public final class DPoPProofJwtDecoderFactory
extends ObjectSE
implements JwtDecoderFactory<DPoPProofContext>
- 導入:
- 6.5
- 関連事項:
フィールド概要
フィールドコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明createDecoder(DPoPProofContext dPoPProofContext) 指定された「コンテキスト」型を使用してJwtDecoderを作成します。static FunctionSE<DPoPProofContext, OAuth2TokenValidator<Jwt>> createDefaultJwtValidatorFactory(ListSE<OAuth2TokenValidator<Jwt>> validators) voidsetJwtValidatorFactory(FunctionSE<DPoPProofContext, OAuth2TokenValidator<Jwt>> jwtValidatorFactory)
フィールドの詳細
DEFAULT_JWT_VALIDATOR_FACTORY
public static final FunctionSE<DPoPProofContext, OAuth2TokenValidator<Jwt>> DEFAULT_JWT_VALIDATOR_FACTORY
コンストラクターの詳細
DPoPProofJwtDecoderFactory
public DPoPProofJwtDecoderFactory()
方法の詳細
createDecoder
インターフェースからコピーされた説明:JwtDecoderFactory指定された「コンテキスト」型を使用してJwtDecoderを作成します。- 次で指定:
- インターフェース
JwtDecoderFactory<DPoPProofContext>内のcreateDecoder - パラメーター:
dPoPProofContext- コンテキスト情報を提供する型- 戻り値:
JwtDecoder
setJwtValidatorFactory
public void setJwtValidatorFactory(FunctionSE<DPoPProofContext, OAuth2TokenValidator<Jwt>> jwtValidatorFactory) 指定されたDPoPProofContextのOAuth2TokenValidatorを提供し、JwtDecoderで使用されるファクトリを設定します。デフォルトのOAuth2TokenValidator<Jwt>ファクトリはDEFAULT_JWT_VALIDATOR_FACTORYです。- パラメーター:
jwtValidatorFactory- 指定されたDPoPProofContextのOAuth2TokenValidatorを提供するファクトリ
createDefaultJwtValidatorFactory
public static FunctionSE<DPoPProofContext, OAuth2TokenValidator<Jwt>> createDefaultJwtValidatorFactory(ListSE<OAuth2TokenValidator<Jwt>> validators) 指定されたDPoPProofContextに対応するOAuth2TokenValidatorを提供するファクトリを作成し、JwtDecoderで使用します。返されるファクトリは、htm、htu、iat、jkt、ath、jtiクレームを検証するバリデーターと、指定されたカスタムバリデーターを提供します。- パラメーター:
validators- 追加するカスタムバリデーター- 戻り値:
- 指定された
DPoPProofContextに対してOAuth2TokenValidatorを提供するファクトリ - 導入:
- 6.5.12