クラス FactorAuthorizationDecision
java.lang.ObjectSE
org.springframework.security.authorization.FactorAuthorizationDecision
- 実装されているすべてのインターフェース:
SerializableSE,AuthorizationResult
- 導入:
- 7.0
- 関連事項:
コンストラクターの概要
コンストラクターメソッドのサマリー
コンストラクターの詳細
FactorAuthorizationDecision
新しいインスタンスを作成します。- パラメーター:
factorErrors-RequiredFactorError。空の場合、isGranted()は true を返します。null または空の値を含めることはできません。
メソッドの詳細
getFactorErrors
指定されたRequiredFactorErrors- 戻り値:
- エラー。null にしたり、null 値を含めたりすることはできません。
isGranted
public boolean isGranted()getFactorErrors().isEmpty()を返します。- 次で指定:
- インターフェース
AuthorizationResultのisGranted - 戻り値: