Package edu.indiana.extreme.gfac.external.impl

Examples of edu.indiana.extreme.gfac.external.impl.XregistryServiceWrapper.addCapability()


   }
   }
   }
                 
   for(Capability capability:actorsToAdd){
   xregistryServiceWrapper.addCapability(resourceID, capability.actor,
   capability.isUser, capability.action);
   }
   return "Capability updated for resource "+resourceID;
   }else{
   return null;
View Full Code Here


   }
   }
   public static void makePublicRead(String resourceID, RegistryService registryService, String actor, boolean isUser) throws GfacException{
      XregistryServiceWrapper xregistryServiceWrapper = (XregistryServiceWrapper) registryService;
    //   resourceID = new QName(GFacConstants.GFAC_NAMESPACE, resourceID).toString();
       xregistryServiceWrapper.addCapability(resourceID, actor,isUser , ServiceConstants.USER_CREDENTIAL);
   }
  public static boolean hasCapabilityWithName(List<Capability> list,
      String actor) {
    for (Capability capability : list) {
      if (capability.actor.equals(actor)) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.