java.rmi.activation
Class SecureActivationID.Verifier

java.lang.Object
  |
  +--java.rmi.activation.SecureActivationID.Verifier
All Implemented Interfaces:
ProxyTrust.Verifier, java.io.Serializable
Enclosing class:
SecureActivationID

public static class SecureActivationID.Verifier
extends java.lang.Object
implements ProxyTrust.Verifier, java.io.Serializable

A ProxyTrust.Verifier for SecureActivationID instances.

This class exists as a convenience for secure activation system daemon implementations, to avoid requiring all such implementations to make code available for dynamic download to clients.

Since:
1.4
See Also:
Serialized Form

Constructor Summary
SecureActivationID.Verifier(java.rmi.activation.Activator activator)
          Creates a verifier for the specified activator.
 
Method Summary
 void verifyProxyTrust(java.lang.Object proxy)
          Verifies trust in a proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureActivationID.Verifier

public SecureActivationID.Verifier(java.rmi.activation.Activator activator)
Creates a verifier for the specified activator.
Parameters:
activator - the activator
Throws:
java.lang.IllegalArgumentException - if the specified activator does not implement both RemoteSecurity and ProxyTrust
Method Detail

verifyProxyTrust

public void verifyProxyTrust(java.lang.Object proxy)
Verifies trust in a proxy. Returns normally if the proxy passed as a parameter is an instance of SecureActivationID and that proxy's internal activator instance is equal to the activator of this verifier, ignoring client constraints.
Specified by:
verifyProxyTrust in interface ProxyTrust.Verifier
Following copied from interface: java.rmi.server.ProxyTrust.Verifier
Parameters:
proxy - the proxy to verify
Throws:
NullPointerException - if the proxy is null
java.lang.SecurityException - if the proxy is not trusted


Copyright © 2000 Sun Microsystems, Inc. All rights reserved