public class SecureRemoteInvocationExecutor
extends org.springframework.remoting.support.DefaultRemoteInvocationExecutor
RemoteInvocationExecutor
that binds a sessionId
to the incoming thread to make it available to the SecurityManager
implementation during the thread execution. The SecurityManager
implementation can use this sessionId
to reconstitute the Subject
instance based on persistent state in the corresponding Session
.Constructor and Description |
---|
SecureRemoteInvocationExecutor() |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(org.springframework.remoting.support.RemoteInvocation invocation,
Object targetObject) |
void |
setSecurityManager(SecurityManager securityManager) |
public void setSecurityManager(SecurityManager securityManager)
public Object invoke(org.springframework.remoting.support.RemoteInvocation invocation, Object targetObject) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
invoke
in interface org.springframework.remoting.support.RemoteInvocationExecutor
invoke
in class org.springframework.remoting.support.DefaultRemoteInvocationExecutor
NoSuchMethodException
IllegalAccessException
InvocationTargetException
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.