Class MessageMatcherDelegatingAuthorizationManager
java.lang.Object
org.springframework.security.messaging.access.intercept.MessageMatcherDelegatingAuthorizationManager
- All Implemented Interfaces:
org.springframework.security.authorization.AuthorizationManager<org.springframework.messaging.Message<?>>
public final class MessageMatcherDelegatingAuthorizationManager
extends Object
implements org.springframework.security.authorization.AuthorizationManager<org.springframework.messaging.Message<?>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forMessageMatcherDelegatingAuthorizationManager. -
Method Summary
Modifier and TypeMethodDescription@Nullable org.springframework.security.authorization.AuthorizationResultauthorize(Supplier<? extends @Nullable org.springframework.security.core.Authentication> authentication, org.springframework.messaging.Message<?> message) builder()Creates a builder forMessageMatcherDelegatingAuthorizationManager.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
verify
-
Method Details
-
authorize
public @Nullable org.springframework.security.authorization.AuthorizationResult authorize(Supplier<? extends @Nullable org.springframework.security.core.Authentication> authentication, org.springframework.messaging.Message<?> message) - Specified by:
authorizein interfaceorg.springframework.security.authorization.AuthorizationManager<org.springframework.messaging.Message<?>>
-
builder
Creates a builder forMessageMatcherDelegatingAuthorizationManager.- Returns:
- the new
MessageMatcherDelegatingAuthorizationManager.Builderinstance
-