クラス Saml2AssertionAuthentication.Builder <B extends Saml2AssertionAuthentication.Builder<B>></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 を使用してくださいクラス org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder から継承されたメソッド
authenticated, authorities, details
コンストラクターの詳細
Builder
メソッドの詳細
credentials
これらの資格情報を使用してください。資格情報はSaml2ResponseAssertionAccessor型である必要があります。- パラメーター:
credentials- 使用する資格情報- 戻り値:
- さらなる構成のための
Saml2AssertionAuthentication.Builder - 関連事項:
relyingPartyRegistrationId
この登録 ID を使用してください- パラメーター:
relyingPartyRegistrationId- 使用するRelyingPartyRegistration.getRegistrationId()- 戻り値:
- さらなる構成のための
Saml2AssertionAuthentication.Builder
build
インターフェースからコピーされた説明:Authentication.BuilderAuthenticationインスタンスを構築する- 戻り値:
Authenticationインスタンス
principal
インターフェースからコピーされた説明:Authentication.Builderこの原則を使用してください。多くの場合、プリンシパルは強く型付けされていることに注意してください。実装では型チェックを行うことも選択できますが、必ずしもあらゆるオブジェクトをプリンシパルとして許可するとは限りません。
実装では、この
principalを既存のAuthenticationインスタンスの任意のプリンシパルと組み合わせて使用することもできます。- パラメーター:
principal- 使用するプリンシパル- 戻り値:
- 追加構成のための
Authentication.Builder - 関連事項: