@Deprecated public interface ProxyTrust extends Remote
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.| Modifier and Type | Method and Description |
|---|---|
TrustVerifier |
getProxyVerifier()
Deprecated.
Returns a
TrustVerifier which can be used to verify that
a proxy can be trusted as a proxy for the service; that is, the
isTrustedObject method of the
returned verifier can be called with a candidate proxy. |
TrustVerifier getProxyVerifier() throws RemoteException
TrustVerifier which can be used to verify that
a proxy can be trusted as a proxy for the service; that is, the
isTrustedObject method 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).TrustVerifier which can be used to verify that
a proxy can be trusted as a proxy for the serviceRemoteException - if a communication-related exception occursCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.