Class MessageMatcherDelegatingAuthorizationManager
java.lang.Object
org.springframework.security.messaging.access.intercept.MessageMatcherDelegatingAuthorizationManager
- All Implemented Interfaces:
AuthorizationManager<org.springframework.messaging.Message<?>>
public final class MessageMatcherDelegatingAuthorizationManager
extends Object
implements AuthorizationManager<org.springframework.messaging.Message<?>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forMessageMatcherDelegatingAuthorizationManager. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forMessageMatcherDelegatingAuthorizationManager.check(Supplier<Authentication> authentication, org.springframework.messaging.Message<?> message) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.authorization.AuthorizationManager
authorize, verify
-
Method Details
-
check
@Deprecated public AuthorizationDecision check(Supplier<Authentication> authentication, org.springframework.messaging.Message<?> message) Deprecated.please useAuthorizationManager.authorize(Supplier, Object)insteadDelegates to a specificAuthorizationManagerbased on aMessageMatcherevaluation.- Specified by:
checkin interfaceAuthorizationManager<org.springframework.messaging.Message<?>>- Parameters:
authentication- theSupplierof theAuthenticationto checkmessage- theMessageto check- Returns:
- an
AuthorizationDecision. If there is noMessageMatchermatching the message, or theAuthorizationManagercould not decide, then null is returned
-
builder
Creates a builder forMessageMatcherDelegatingAuthorizationManager.- Returns:
- the new
MessageMatcherDelegatingAuthorizationManager.Builderinstance
-
AuthorizationManager.authorize(Supplier, Object)instead