mx4j.remote.rmi

Class RMIConnectionSubjectInvoker

Implemented Interfaces:
InvocationHandler

public class RMIConnectionSubjectInvoker
extends RMIConnectionProxy

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.
Version:
$Revision: 1.10 $

Method Summary

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)

Methods inherited from class mx4j.remote.rmi.RMIConnectionProxy

invoke

Method Details

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
            throws Throwable
Overrides:
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.