Package org.springframework.security.messaging.context
package org.springframework.security.messaging.context
-
ClassDescriptionAllows resolving the
Authentication.getPrincipal()
using theAuthenticationPrincipal
annotation.Creates aExecutorChannelInterceptor
that will obtain theAuthentication
from the specifiedMessage.getHeaders()
.AnExecutorChannelInterceptor
that takes anAuthentication
from the currentSecurityContext
(if any) in theSecurityContextPropagationChannelInterceptor.preSend(Message, MessageChannel)
callback and stores it into anSecurityContextPropagationChannelInterceptor.authenticationHeaderName
message header.