|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.channel.interceptor.ChannelInterceptorAdapter
org.springframework.integration.security.channel.SecurityContextPropagatingChannelInterceptor
public class SecurityContextPropagatingChannelInterceptor
Propagates the associated with the current thread (if any) by adding it to the header of sent messages.
Field Summary | |
---|---|
private org.apache.commons.logging.Log |
logger
|
Constructor Summary | |
---|---|
SecurityContextPropagatingChannelInterceptor()
|
Method Summary | |
---|---|
boolean |
preSend(Message<?> message,
MessageChannel channel)
|
protected void |
setSecurityContextAttribute(Message<?> message)
|
Methods inherited from class org.springframework.integration.channel.interceptor.ChannelInterceptorAdapter |
---|
postReceive, postSend, preReceive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final org.apache.commons.logging.Log logger
Constructor Detail |
---|
public SecurityContextPropagatingChannelInterceptor()
Method Detail |
---|
public boolean preSend(Message<?> message, MessageChannel channel)
preSend
in interface ChannelInterceptor
preSend
in class ChannelInterceptorAdapter
protected void setSecurityContextAttribute(Message<?> message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |