|
|||||||||
| 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 SecurityContext 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 | |
|---|---|
protected Message<?> |
createSecurityContextMessageIfPossible(Message<?> message)
|
Message<?> |
preSend(Message<?> message,
MessageChannel channel)
|
| 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 Message<?> preSend(Message<?> message,
MessageChannel channel)
preSend in interface ChannelInterceptorpreSend in class ChannelInterceptorAdapterprotected Message<?> createSecurityContextMessageIfPossible(Message<?> message)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||