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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA builder forMessageMatcherDelegatingAuthorizationManager.
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Creates a builder forMessageMatcherDelegatingAuthorizationManager.check(Supplier<Authentication> authentication, org.springframework.messaging.Message<?> message) Deprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.authorization.AuthorizationManagerauthorize, 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 interface- AuthorizationManager<org.springframework.messaging.Message<?>>
- Parameters:
- authentication- the- Supplierof the- Authenticationto check
- message- the- Messageto check
- Returns:
- an AuthorizationDecision. If there is noMessageMatchermatching the message, or theAuthorizationManagercould not decide, then null is returned
 
- 
builderCreates a builder forMessageMatcherDelegatingAuthorizationManager.- Returns:
- the new MessageMatcherDelegatingAuthorizationManager.Builderinstance
 
 
- 
AuthorizationManager.authorize(Supplier, Object)instead