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(org.apache.shiro.mgt.SecurityManager securityManager) |
public void setSecurityManager(org.apache.shiro.mgt.SecurityManager securityManager)
public Object invoke(org.springframework.remoting.support.RemoteInvocation invocation, Object targetObject) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
invoke in interface org.springframework.remoting.support.RemoteInvocationExecutorinvoke in class org.springframework.remoting.support.DefaultRemoteInvocationExecutorNoSuchMethodExceptionIllegalAccessExceptionInvocationTargetExceptionCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.