Package net.jini.security.proxytrust
Interface ProxyTrust
- All Superinterfaces:
Remote
Defines a remote interface for obtaining a proxy trust verifier. A service that uses proxies that
will not directly be considered trusted by clients can implement its remote object, or a
bootstrap remote object, to support this interface to allow clients to verify that the proxies
can be trusted as proxies for the service. The client typically configures the
ProxyTrustVerifier trust verifier for use with Security.verifyObjectTrust; given a service proxy, ProxyTrustVerifier obtains from
it a bootstrap proxy (which must be an instance of both ProxyTrust and RemoteMethodControl), and after verifying that the bootstrap proxy (or
a derivative) is trusted by the client, calls the getProxyVerifier method of the
bootstrap proxy (or derivative) to obtain a verifier, and then uses that verifier to determine if
the original service proxy can be trusted. Other trust verifiers may also make use of
ProxyTrust.- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionReturns aTrustVerifierwhich can be used to verify that a proxy can be trusted as a proxy for the service; that is, theisTrustedObjectmethod of the returned verifier can be called with a candidate proxy.
-
Method Details
-
getProxyVerifier
Returns aTrustVerifierwhich can be used to verify that a proxy can be trusted as a proxy for the service; that is, theisTrustedObjectmethod of the returned verifier can be called with a candidate proxy. The verifier should be able to verify all proxies for the service, including proxies for resources (such as leases and registrations).- Returns:
- a
TrustVerifierwhich can be used to verify that a proxy can be trusted as a proxy for the service - Throws:
RemoteException- if a communication-related exception occurs
-