| org.acegisecurity.context.rmi.ContextPropagatingRemoteInvocation
ContextPropagatingRemoteInvocation | public class ContextPropagatingRemoteInvocation extends RemoteInvocation (Code) | | The actual RemoteInvocation that is passed from the client to the server, which contains the
contents of
SecurityContextHolder , being a
SecurityContext object.When constructed on the
client via
org.acegisecurity.context.rmi.ContextPropagatingRemoteInvocationFactory , the contents of the
SecurityContext are stored inside the object. The object is then passed to the server that is
processing the remote invocation. Upon the server invoking the remote invocation, it will retrieve the passed
contents of the SecurityContextHolder and set them to the server-side
SecurityContextHolder whilst the target object is invoked. When the target invocation has been
completed, the server-side SecurityContextHolder will be reset to a new instance of
SecurityContextImpl .
author: James Monaghan author: Ben Alex version: $Id: ContextPropagatingRemoteInvocation.java 1496 2006-05-23 13:38:33Z benalex $ |
Constructor Summary | |
public | ContextPropagatingRemoteInvocation(MethodInvocation methodInvocation) Constructs the object, storing the value of the client-side
SecurityContextHolder inside the object. |
ContextPropagatingRemoteInvocation | public ContextPropagatingRemoteInvocation(MethodInvocation methodInvocation)(Code) | | Constructs the object, storing the value of the client-side
SecurityContextHolder inside the object.
Parameters: methodInvocation - the method to invoke |
|
|