public class DiscoveryConstraintTrustVerifier extends Object implements TrustVerifier
com.sun.jini.discovery package. This class is intended to be specified in a resource to
configure the operation of Security.verifyObjectTrust.TrustVerifier.Context| Constructor and Description |
|---|
DiscoveryConstraintTrustVerifier()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrustedObject(Object obj,
TrustVerifier.Context ctx)
Returns
true if the specified object is known to be trusted to correctly
implement its contract; returns false otherwise. |
public DiscoveryConstraintTrustVerifier()
public boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
true if the specified object is known to be trusted to correctly
implement its contract; returns false otherwise. Returns true if
the object is an instance of any of the following classes, and returns false
otherwise: isTrustedObject in interface TrustVerifierobj - the object in which to verify trustctx - the trust verifier context, to aid in verification of the specified object and its
componentstrue if the specified object is known to be trusted to correctly
implement its contract; false otherwiseNullPointerException - if any argument is nullRemoteException - if a communication-related exception occursCopyright © GigaSpaces.