public class RMIConnectionSubjectInvoker extends RMIConnectionProxy
Subject.doAsPrivileged(javax.security.auth.Subject, java.security.PrivilegedAction<T>, java.security.AccessControlContext) invocation,
in order to execute the code under subject-based security, and to perform subject delegation.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
static javax.management.remote.rmi.RMIConnection |
newInstance(javax.management.remote.rmi.RMIConnection nested,
javax.security.auth.Subject subject,
java.security.AccessControlContext context,
java.util.Map environment) |
public static javax.management.remote.rmi.RMIConnection newInstance(javax.management.remote.rmi.RMIConnection nested,
javax.security.auth.Subject subject,
java.security.AccessControlContext context,
java.util.Map environment)
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerinvoke in class RMIConnectionProxyjava.lang.Throwable