org.jsecurity.spring.remoting
Class SecureRemoteInvocationExecutor
java.lang.Object
org.springframework.remoting.support.DefaultRemoteInvocationExecutor
org.jsecurity.spring.remoting.SecureRemoteInvocationExecutor
- All Implemented Interfaces:
- RemoteInvocationExecutor
public class SecureRemoteInvocationExecutor
- extends DefaultRemoteInvocationExecutor
An implementation of the Spring RemoteInvocationExecutor
that binds the correct Session and Subject to the
remote invocation thread during a remote execution.
- Since:
- 0.1
- Author:
- Jeremy Haile, Les Hazlewood
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureRemoteInvocationExecutor
public SecureRemoteInvocationExecutor()
setSecurityManager
public void setSecurityManager(SecurityManager securityManager)
getInetAddress
protected InetAddress getInetAddress(RemoteInvocation invocation,
Object targetObject)
getPrincipals
protected PrincipalCollection getPrincipals(RemoteInvocation invocation,
Object targetObject,
Session session)
isAuthenticated
protected boolean isAuthenticated(RemoteInvocation invocation,
Object targetObject,
Session session,
PrincipalCollection principals)
invoke
public Object invoke(RemoteInvocation invocation,
Object targetObject)
throws NoSuchMethodException,
IllegalAccessException,
InvocationTargetException
- Specified by:
invoke in interface RemoteInvocationExecutor- Overrides:
invoke in class DefaultRemoteInvocationExecutor
- Throws:
NoSuchMethodException
IllegalAccessException
InvocationTargetException
Copyright © 2004-2008 JSecurity.