java.rmi.server
Interface ProxyTrust
- All Superinterfaces:
- java.rmi.Remote
- public interface ProxyTrust
- extends java.rmi.Remote
Remote objects that use specialized proxies (proxies that are not secure
RMI stubs) must implement this interface to allow clients to verify that
the proxy they have is trusted.
- Since:
- 1.4
Inner Class Summary |
static interface |
ProxyTrust.Verifier
Defines the interface to a proxy trust verifier. |
Method Summary |
TrustVerifierData |
getProxyVerifier(java.lang.String className)
Returns the proxy trust verifier for proxies that are instances of the
specified class, plus any optional codebase and signer information to
use to force client verification that the correct code for the verifier
itself is used. |
getProxyVerifier
public TrustVerifierData getProxyVerifier(java.lang.String className)
throws java.rmi.RemoteException
- Returns the proxy trust verifier for proxies that are instances of the
specified class, plus any optional codebase and signer information to
use to force client verification that the correct code for the verifier
itself is used.
- Parameters:
className
- the fully-qualified name of the proxy class- Returns:
- proxy trust verifier for proxies that are instances of the
specified class, plus any optional codebase and signer information to
use to force client verification that the correct code for the verifier
itself is used
- Throws:
java.lang.SecurityException
- if the specified class is not a trusted proxy
class for this remote objectjava.rmi.RemoteException
- if a communication-related exception occurs
Copyright © 2000 Sun Microsystems, Inc. All rights reserved