public interface ProxyPreparer
Security.verifyObjectTrust, specifying
 constraints by calling RemoteMethodControl.setConstraints, and granting the proxy permissions by
 calling Security.grant. 
 Applications are expected to use instances of this class retrieved from a
 Configuration to prepare all remote proxies that they receive in
 order to permit configuring how applications handle proxies.
| Modifier and Type | Method and Description | 
|---|---|
Object | 
prepareProxy(Object proxy)
Performs operations on a newly unmarshalled proxy to prepare it for use,
 returning the prepared proxy, which may or may not be the argument
 itself. 
 | 
Object prepareProxy(Object proxy) throws RemoteException
 Typical operations performed by this method include verifying trust in
 the proxy by calling Security.verifyObjectTrust, specifying constraints by calling RemoteMethodControl.setConstraints,
 and granting the proxy permissions by calling Security.grant.
proxy - the proxy to prepareNullPointerException - if the proxy is nullRemoteException - if a communication-related exception occursSecurityException - if a security exception occurs