クラス 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) MessageMatcher
評価に基づいて特定のAuthorizationManager
に委譲します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.security.authorization.AuthorizationManager から継承されたメソッド
verify
メソッドの詳細
check
public AuthorizationDecision check(SupplierSE<Authentication> authentication, org.springframework.messaging.Message<?> message) MessageMatcher
評価に基づいて特定のAuthorizationManager
に委譲します。- 次で指定:
- インターフェース
AuthorizationManager<org.springframework.messaging.Message<?>>
のcheck
- パラメーター:
authentication
- チェックするAuthentication
のSupplier
SEmessage
- チェックするMessage
- 戻り値:
AuthorizationDecision
。メッセージに一致するMessageMatcher
がない場合、またはAuthorizationManager
が決定できなかった場合は、null が返されます。
builder
MessageMatcherDelegatingAuthorizationManager
のビルダーを作成します。- 戻り値:
- 新しい
MessageMatcherDelegatingAuthorizationManager.Builder
インスタンス