Class AuthenticationChannelInterceptor
java.lang.Object
com.finconsgroup.itserr.marketplace.usercommunication.dm.security.AuthenticationChannelInterceptor
- All Implemented Interfaces:
org.springframework.messaging.support.ChannelInterceptor
public final class AuthenticationChannelInterceptor
extends Object
implements org.springframework.messaging.support.ChannelInterceptor
Interceptor to retrieve and verify the Jwt Token for authentication of the user.
-
Constructor Summary
Constructors -
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
-
AuthenticationChannelInterceptor
public AuthenticationChannelInterceptor()
-
-
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
-