public class ConstrainableLookupLocatorTrustVerifier extends Object implements TrustVerifier
ConstrainableLookupLocator
instances. This
class is intended to be specified in a resource to configure the
operation of Security.verifyObjectTrust
.TrustVerifier.Context
Constructor and Description |
---|
ConstrainableLookupLocatorTrustVerifier()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTrustedObject(Object obj,
TrustVerifier.Context ctx)
Returns
true if the specified object is a trusted
ConstrainableLookupLocator instance; returns
false otherwise. |
public ConstrainableLookupLocatorTrustVerifier()
public boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
true
if the specified object is a trusted
ConstrainableLookupLocator
instance; returns
false
otherwise. For the purposes of this verifier,
all instances of ConstrainableLookupLocator
are
considered trusted.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
otherwiseSecurityException
- if a security exception occursNullPointerException
- if any argument is null
RemoteException
- if a communication-related exception occursCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.