com.sun.jini.discovery
Class DiscoveryConstraintTrustVerifier
java.lang.Object
  
com.sun.jini.discovery.DiscoveryConstraintTrustVerifier
- All Implemented Interfaces: 
 - TrustVerifier
 
public class DiscoveryConstraintTrustVerifier
- extends Object
- implements TrustVerifier
  
Trust verifier for instances of the constraint classes defined in the com.sun.jini.discovery package.  This class is intended to be specified in
 a resource to configure the operation of Security.verifyObjectTrust.
- Since:
 
  - 2.0
 
- Author:
 
  - Sun Microsystems, Inc.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DiscoveryConstraintTrustVerifier
public DiscoveryConstraintTrustVerifier()
- Creates an instance.
 
isTrustedObject
public boolean isTrustedObject(Object obj,
                               TrustVerifier.Context ctx)
                        throws RemoteException
- Returns 
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:
 
- Specified by:
 isTrustedObject in interface TrustVerifier
 
- Parameters:
 obj - the object in which to verify trustctx - the trust verifier context, to aid in verification of
 the specified object and its components
- Returns:
 true if the specified object is known to be
 trusted to correctly implement its contract; false
 otherwise
- Throws:
 NullPointerException - if any argument is null
RemoteException - if a communication-related exception occurs
 
 
Copyright © GigaSpaces.