Package 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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDefines the context for trust verification used byTrustVerifierinstances andSecurity.verifyObjectTrust. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisTrustedObject(Object obj, TrustVerifier.Context ctx) Returnstrueif the specified object is known to be trusted to correctly implement its contract; returnsfalseotherwise.
-
Method Details
-
isTrustedObject
Returnstrueif the specified object is known to be trusted to correctly implement its contract; returnsfalseotherwise.- 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:
trueif the specified object is known to be trusted to correctly implement its contract;falseotherwise- Throws:
RemoteException- if a communication-related exception occursSecurityException- if a security exception occursNullPointerException- if any argument isnull
-