クラス MessageMatcherDelegatingAuthorizationManager
java.lang.ObjectSE
org.springframework.security.messaging.access.intercept.MessageMatcherDelegatingAuthorizationManager
- 実装されているすべてのインターフェース:
AuthorizationManager<org.springframework.messaging.Message<?>>
public final class MessageMatcherDelegatingAuthorizationManager
extends ObjectSE
implements AuthorizationManager<org.springframework.messaging.Message<?>>
ネストされたクラスの要約
ネストされたクラス修飾子と型クラス説明static final classメソッドのサマリー
修飾子と型メソッド説明builder()MessageMatcherDelegatingAuthorizationManagerのビルダーを作成します。check(SupplierSE<Authentication> authentication, org.springframework.messaging.Message<?> message) 使用すべきではありません。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.security.authorization.AuthorizationManager から継承されたメソッド
authorize, verify
メソッドの詳細
check
@DeprecatedSE public AuthorizationDecision check(SupplierSE<Authentication> authentication, org.springframework.messaging.Message<?> message) 使用すべきではありません。代わりにAuthorizationManager.authorize(Supplier, Object)を使用してくださいMessageMatcher評価に基づいて特定のAuthorizationManagerに委譲します。- 次で指定:
- インターフェース
AuthorizationManager<org.springframework.messaging.Message<?>>のcheck - パラメーター:
authentication- チェックするAuthenticationのSupplierSEmessage- チェックするMessage- 戻り値:
AuthorizationDecision。メッセージに一致するMessageMatcherがない場合、またはAuthorizationManagerが決定できなかった場合は、null が返されます。
builder
MessageMatcherDelegatingAuthorizationManagerのビルダーを作成します。- 戻り値:
- 新しい
MessageMatcherDelegatingAuthorizationManager.Builderインスタンス
AuthorizationManager.authorize(Supplier, Object)を使用してください