mx4j.remote.rmi
Class RMIConnectionSubjectInvoker
- InvocationHandler
public class RMIConnectionSubjectInvoker
An RMIConnection proxy that wraps the call into a Subject.doAsPrivileged
invocation,
in order to execute the code under subject-based security, and to perform subject delegation.
Object | invoke(Object proxy, Method method, Object[] args)
|
static javax.management.remote.rmi.RMIConnection | newInstance(javax.management.remote.rmi.RMIConnection nested, Subject subject, AccessControlContext context, Map environment)
|
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- invoke in interface RMIConnectionProxy
newInstance
public static javax.management.remote.rmi.RMIConnection newInstance(javax.management.remote.rmi.RMIConnection nested,
Subject subject,
AccessControlContext context,
Map environment)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.