}
}
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)) {