static final class ConstrainableAID.Verifier extends Object implements TrustVerifier, Serializable
ProxyTrust
trust verifier for
ConstrainableAID
instances.TrustVerifier.Context
Modifier and Type | Field and Description |
---|---|
private RemoteMethodControl |
activator
The expected activator.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ConstrainableAID.Verifier(Activator activator)
Creates a verifier for the specified activator.
|
private static final long serialVersionUID
private final RemoteMethodControl activator
ConstrainableAID.Verifier(Activator activator)
activator
- the activatorIllegalArgumentException
- if the specified activator is
not an instance of RemoteMethodControl
or
TrustEquivalence
public boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
true
if the
proxy passed as an argument is an instance of
ConstrainableAID
and that proxy's internal
activator instance is trust equivalent to the activator of this
verifier; returns false
otherwise.isTrustedObject
in interface TrustVerifier
obj
- 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
otherwiseRemoteException
- if a communication-related exception occursCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.