Package org.eclipse.ecf.core.sharedobject.security

Examples of org.eclipse.ecf.core.sharedobject.security.ISharedObjectPolicy


        System.out.println("joinPolicy.refresh()");
      }
    });
    // Setup add shared object policy
    final ISharedObjectManager manager = server.getSharedObjectManager();
    manager.setRemoteAddPolicy(new ISharedObjectPolicy() {
      public PermissionCollection checkAddSharedObject(ID fromID, ID toID, ID localID, ReplicaSharedObjectDescription newObjectDescription) throws SecurityException {
        System.out.println("ADDSHAREDOBJECT From=" + fromID + ";To=" + toID + ";SharedObjectDesc=" + newObjectDescription);
        return null;
      }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.core.sharedobject.security.ISharedObjectPolicy

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.