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.
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 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:
RemoteException
- if a communication-related exception occurs
SecurityException
- if a security exception occurs
NullPointerException
- if any argument is null
Copyright © GigaSpaces.