Class XorCsrfChannelInterceptor
- java.lang.Object
-
- org.springframework.security.messaging.web.csrf.XorCsrfChannelInterceptor
-
- All Implemented Interfaces:
org.springframework.messaging.support.ChannelInterceptor
public final class XorCsrfChannelInterceptor extends java.lang.Object implements org.springframework.messaging.support.ChannelInterceptor
ChannelInterceptor
that validates a CSRF token masked by theXorCsrfTokenRequestAttributeHandler
in the header of anySimpMessageType.CONNECT
message.- Since:
- 5.8
-
-
Constructor Summary
Constructors Constructor Description XorCsrfChannelInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.messaging.Message<?>
preSend(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel)
-