public final class ProxyVerifier extends Object implements net.jini.security.TrustVerifier, Serializable
Constructor and Description |
---|
ProxyVerifier(Registrar server,
net.jini.core.lookup.ServiceID registrarID)
Constructs proxy verifier which compares server references extracted
from smart proxies with the given canonical server reference, which must
implement both RemoteMethodControl and TrustEquivalence.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTrustedObject(Object obj,
net.jini.security.TrustVerifier.Context ctx)
Returns true if the given object is a trusted proxy, or false otherwise.
|
public ProxyVerifier(Registrar server, net.jini.core.lookup.ServiceID registrarID)
public boolean isTrustedObject(Object obj, net.jini.security.TrustVerifier.Context ctx) throws RemoteException
isTrustedObject
in interface net.jini.security.TrustVerifier
RemoteException
Copyright © 2016–2018. All rights reserved.