final class ProxyVerifier extends Object implements TrustVerifier, Serializable
TrustVerifier.Context| Modifier and Type | Field and Description |
|---|---|
private static Logger |
logger
Logger for logging information about this instance
|
private static long |
serialVersionUID |
private RemoteMethodControl |
serverProxy
The SharedGroup server proxy.
|
private static String |
START_PROXY
Logger and configuration component name for SharedGroup
|
| Constructor and Description |
|---|
ProxyVerifier(SharedGroupBackEnd serverProxy)
Returns a verifier for the smart proxies of the specified SharedGroup
server proxy.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
private static final long serialVersionUID
private static final String START_PROXY
private static final Logger logger
private final RemoteMethodControl serverProxy
ProxyVerifier(SharedGroupBackEnd serverProxy)
serverProxy - the SharedGroup server proxyUnsupportedOperationException - if serverProxy does
not implement both RemoteMethodControl and TrustEquivalencepublic boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
TrustVerifiertrue if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise.isTrustedObject in interface TrustVerifierobj - the object in which to verify trustctx - the trust verifier context, to aid in verification of
the specified object and its componentstrue if the specified object is known to be
trusted to correctly implement its contract; false
otherwiseNullPointerException - if any argument is nullRemoteException - if a communication-related exception occursCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.