net.jini.security
Interface TrustVerifier
- All Known Implementing Classes:
- BasicJeriTrustVerifier, ConstraintTrustVerifier, KerberosTrustVerifier, ProxyTrustVerifier, SslTrustVerifier
- public interface TrustVerifier
Defines the interface for trust verifiers used by
Security.verifyObjectTrust, allowing
the objects that are trusted to be extended.
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.
- 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 2005, Sun Microsystems, Inc.
Licensed under the Apache License, Version 2.0.