public final class LandlordProxyVerifier extends Object implements Serializable, TrustVerifier
|Constructor and Description|
Returns a verifier for the proxies defined in the landlord package with the specified server reference and server
|Modifier and Type||Method and Description|
landlord- the reference to the
Landlordbeing used by the leases for communication back to the server.
landlordUuid- a universally unique id that has been assigned to the server granting of the lease. Ideally the
landlord.getUuidwould return if
ReferentUuid. Used to determine when two leases can be batched together.
landlorddoes not implement both
NullPointerException- if either argument is
public boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
trueif the specified proxy object (that is not yet known to be trusted) is equivalent in trust, content, and function to the canonical server reference this object was constructed with; otherwise returns
obj- proxy object that will be compared to this class's stored canonical proxy to determine whether or not the given proxy object is equivalent in trust, content, and function.
ctx- the trust verifier context, to aid in verification of the specified object and its components
trueif the specified object (that is not yet known to be trusted) is equivalent in trust, content, and function to the canonical inner proxy object referenced in this class; otherwise returns
NullPointerException- if any argument is
RemoteException- if a communication-related exception occurs
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.