クラス Saml2AssertionAuthentication.Builder< B は Saml2AssertionAuthentication.Builder を継承します。<B> >
java.lang.ObjectSE
org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>
org.springframework.security.saml2.provider.service.authentication.Saml2AssertionAuthentication.Builder<B>
- 実装済みのインターフェース一覧:
Authentication.Builder<B>
- 含まれているクラス:
Saml2AssertionAuthentication
public static class Saml2AssertionAuthentication.Builder<B extends Saml2AssertionAuthentication.Builder<B>>
extends AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>
Saml2AssertionAuthentication インスタンスのビルダー - 導入:
- 7.0
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明build()Authenticationインスタンスを構築するcredentials(@Nullable ObjectSE credentials) これらの資格情報を使用します。この原則を使用してください。relyingPartyRegistrationId(StringSE relyingPartyRegistrationId) この登録 ID を使用してください
コンストラクターの詳細
Builder
方法の詳細
credentials
これらの資格情報を使用してください。資格情報はSaml2ResponseAssertionAccessor型である必要があります。- パラメーター:
credentials- 使用する資格情報- 戻り値:
- さらなる構成のための
Saml2AssertionAuthentication.Builder - 関連事項:
relyingPartyRegistrationId
この登録 ID を使用してください- パラメーター:
relyingPartyRegistrationId- 使用するRelyingPartyRegistration.getRegistrationId()- 戻り値:
- さらなる構成のための
Saml2AssertionAuthentication.Builder
build
principal
インターフェースからコピーされた説明:Authentication.Builderこの原則を使用してください。多くの場合、プリンシパルは強く型付けされていることに注意してください。実装では型チェックを行うことも選択できますが、必ずしもあらゆるオブジェクトをプリンシパルとして許可するとは限りません。
実装では、この
principalを既存のAuthenticationインスタンスの任意のプリンシパルと組み合わせて使用することもできます。- パラメーター:
principal- 使用するプリンシパル- 戻り値:
- 追加構成のための
Authentication.Builder - 関連事項: