クラス SingleResultAuthorizationManager<C>
java.lang.ObjectSE
org.springframework.security.authorization.SingleResultAuthorizationManager<C>
- 実装されているすべてのインターフェース:
AuthorizationManager<C>
public final class SingleResultAuthorizationManager<C>
extends ObjectSE
implements AuthorizationManager<C>
すべて許可およびすべて拒否の
AuthorizationManager インスタンスを作成する AuthorizationManager。- 導入:
- 6.5
コンストラクターの概要
コンストラクター方法の概要
修飾子と型メソッド説明authorize(SupplierSE<? extends @Nullable Authentication> authentication, C object) 特定の認証およびオブジェクトにアクセスを許可するかどうかを決定します。static <C> SingleResultAuthorizationManager<C>denyAll()static <C> SingleResultAuthorizationManager<C>クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.security.authorization.AuthorizationManager から継承されたメソッド
verify
コンストラクターの詳細
SingleResultAuthorizationManager
メソッドの詳細
authorize
public AuthorizationResult authorize(SupplierSE<? extends @Nullable Authentication> authentication, C object) インターフェースからコピーされた説明:AuthorizationManager特定の認証およびオブジェクトにアクセスを許可するかどうかを決定します。- 次で指定:
- インターフェース
AuthorizationManager<C>のauthorize - パラメーター:
authentication-AuthenticationのSupplierSE を承認するobject- 承認するAuthorizationManagerオブジェクト- 戻り値:
AuthorizationResult
denyAll
permitAll