GigaSpaces XAP 10.0.1 API

net.jini.security
Interface TrustVerifier

All Known Implementing Classes:
BasicProxyTrustVerifier, ConstrainableLookupLocatorTrustVerifier, ConstraintTrustVerifier, DiscoveryConstraintTrustVerifier, LandlordProxyVerifier, ProxyTrustVerifier

public interface TrustVerifier

Defines the interface for trust verifiers used by Security.verifyObjectTrust, allowing the objects that are trusted to be extended.

Since:
2.0
Author:
Sun Microsystems, Inc.

Nested Class Summary
static interface TrustVerifier.Context
          Defines the context for trust verification used by TrustVerifier instances and Security.verifyObjectTrust.
 
Method Summary
 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.
 

Method Detail

isTrustedObject

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.

Parameters:
obj - the object in which to verify trust
ctx - 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:
RemoteException - if a communication-related exception occurs
SecurityException - if a security exception occurs
NullPointerException - if any argument is null

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.