Class VerifyConnectInterceptor
java.lang.Object
com.easy_model.webservice.securityhelpers.stompInterceptors.VerifyConnectInterceptor
- All Implemented Interfaces:
org.springframework.messaging.support.ChannelInterceptor
public class VerifyConnectInterceptor
extends Object
implements org.springframework.messaging.support.ChannelInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionVerifyConnectInterceptor(org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, JwtAuthenticationConverter jwtAuthenticationConverter) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.Message<?> preSend(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.messaging.support.ChannelInterceptor
afterReceiveCompletion, afterSendCompletion, postReceive, postSend, preReceive
-
Constructor Details
-
VerifyConnectInterceptor
public VerifyConnectInterceptor(org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, JwtAuthenticationConverter jwtAuthenticationConverter)
-
-
Method Details
-
preSend
public org.springframework.messaging.Message<?> preSend(@NonNull org.springframework.messaging.Message<?> message, @NonNull org.springframework.messaging.MessageChannel channel) - Specified by:
preSendin interfaceorg.springframework.messaging.support.ChannelInterceptor
-