Package com.sun.jini.landlord

Examples of com.sun.jini.landlord.LandlordProxyVerifier


  if (obj instanceof TxnMgrProxy.ConstrainableTxnMgrProxy) {
      otherServerProxy = (RemoteMethodControl)
    ((TxnMgrProxy)obj).backend;
      inputProxyID = ((ReferentUuid)obj).getReferentUuid();
  } else if (obj instanceof ConstrainableLandlordLease) {
      final LandlordProxyVerifier lpv =
    new LandlordProxyVerifier((Landlord)serverProxy, proxyID);
      return lpv.isTrustedObject(obj, ctx);
  } else if (
      obj instanceof TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy) {
      otherServerProxy = (RemoteMethodControl)
    ((TxnMgrAdminProxy)obj).server;
      inputProxyID = ((ReferentUuid)obj).getReferentUuid();
View Full Code Here


      // a ref to uuid, to simplify the logic just make
      // inputProxyUuid = uuid.
      inputProxyUuid = uuid;
      inputProxyServer = (RemoteMethodControl)obj;
        } else {
      final LandlordProxyVerifier lpv =
    new LandlordProxyVerifier((Landlord)server, uuid);
      return lpv.isTrustedObject(obj, ctx);
        }

  // Check Uuid first
  if (!uuid.equals(inputProxyUuid))
      return false;
View Full Code Here

  throws RemoteException
    {
  if (obj == null || ctx == null) {
      throw new NullPointerException("Arguments must not be null");
  } else if (obj instanceof ConstrainableLandlordLease) {
      return new LandlordProxyVerifier(
    (Landlord) serverProxy, serverUuid).isTrustedObject(obj, ctx);
  }
  RemoteMethodControl otherServerProxy;
  if (obj instanceof SetProxy.ConstrainableSetProxy) {
      if (!isTrustedObject(((SetProxy) obj).getRenewalSetLease(), ctx)) {
View Full Code Here

  if (obj instanceof TxnMgrProxy.ConstrainableTxnMgrProxy) {
      otherServerProxy = (RemoteMethodControl)
    ((TxnMgrProxy)obj).backend;
      inputProxyID = ((ReferentUuid)obj).getReferentUuid();
  } else if (obj instanceof ConstrainableLandlordLease) {
      final LandlordProxyVerifier lpv =
    new LandlordProxyVerifier((Landlord)serverProxy, proxyID);
      return lpv.isTrustedObject(obj, ctx);
  } else if (
      obj instanceof TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy) {
      otherServerProxy = (RemoteMethodControl)
    ((TxnMgrAdminProxy)obj).server;
      inputProxyID = ((ReferentUuid)obj).getReferentUuid();
View Full Code Here

      otherServerProxy = (RemoteMethodControl) ((MailboxAdminProxy)obj).server;
      inputProxyID = ((ReferentUuid)obj).getReferentUuid();
  } else if (obj instanceof ListenerProxy.ConstrainableListenerProxy) {
      otherServerProxy = (RemoteMethodControl) ((ListenerProxy)obj).server;
  } else if (obj instanceof ConstrainableLandlordLease) {
      final LandlordProxyVerifier lpv =
    new LandlordProxyVerifier((Landlord)serverProxy, proxyID);
      return lpv.isTrustedObject(obj, ctx);
  } else {
      logger.log(Level.FINEST, "Object {0} is not a supported type",
    obj);
      return false;
  }
View Full Code Here

TOP

Related Classes of com.sun.jini.landlord.LandlordProxyVerifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.