java.rmi.activation
Interface ActivatorTrust
- All Superinterfaces:
- java.rmi.Remote
- public interface ActivatorTrust
- extends java.rmi.Remote
An activatable object can, but need not, implement this interface to allow
clients to verify that the activation identifier they have is trusted. If
an activatable object does not implement this interface, the dispatcher
used to handle incoming remote calls for the object will automatically
respond to the getActivatorVerifier
method by returning a
TrustVerifierData
instance in
which both the codebase and signers are null
, and the verifier
is the activation identifier that was used when the object was exported.
Whether or not the activatable object implements the
ActivatorTrust
interface, the stub will implement the
interface, constraints can be placed on incoming
getActivatorVerifier
calls by specifying the
getActivatorVerifier
method in a
MethodConstraints
in the
SecureExportDesc
when exporting a
secure activatable object, and remote call control (using the
RemoteCallControl
interface)
applies to incoming getActivatorVerifier
calls.
- Since:
- 1.4
Method Summary |
TrustVerifierData |
getActivatorVerifier()
Returns the activation identifier trust verifier, plus any optional
codebase and signer information to use to force verification at the
client that the correct code for the verifier itself is used. |
getActivatorVerifier
public TrustVerifierData getActivatorVerifier()
throws java.rmi.RemoteException
- Returns the activation identifier trust verifier, plus any optional
codebase and signer information to use to force verification at the
client that the correct code for the verifier itself is used.
- Returns:
- activation identifier trust verifier, plus any optional
codebase and signer information
- Throws:
java.rmi.RemoteException
- if a communication-related exception occurs
Copyright © 2000 Sun Microsystems, Inc. All rights reserved