Examples of deleteSecurityGroup()


Examples of com.amazon.ec2.AmazonEC2SkeletonInterface.deleteSecurityGroup()

        return ec2Service.deleteKeyPair(deleteKeyPair);
    }

    public DeleteSecurityGroupResponse deleteSecurityGroup(DeleteSecurityGroup deleteSecurityGroup) {
        AmazonEC2SkeletonInterface ec2Service = ServiceProvider.getInstance().getServiceImpl(AmazonEC2SkeletonInterface.class);
        return ec2Service.deleteSecurityGroup(deleteSecurityGroup);
    }

    public DeleteSnapshotResponse deleteSnapshot(DeleteSnapshot deleteSnapshot) {
        AmazonEC2SkeletonInterface ec2Service = ServiceProvider.getInstance().getServiceImpl(AmazonEC2SkeletonInterface.class);
        return ec2Service.deleteSnapshot(deleteSnapshot);
View Full Code Here

Examples of org.olat.basesecurity.Manager.deleteSecurityGroup()

    DBFactory.getInstance().deleteObject(bgContext);
    // 5) Delete security group
    SecurityGroup owners = bgContext.getOwnerGroup();
    if (owners != null) {
      Manager secMgr = ManagerFactory.getManager();
      secMgr.deleteSecurityGroup(owners);
    }
    Tracing.logAudit("Deleted Business Group Context", bgContext.toString(), this.getClass());
  }

  /**
 
View Full Code Here

Examples of org.olat.basesecurity.Manager.deleteSecurityGroup()

      //delete catalog entry, then delete owner group
      SecurityGroup owner = ce.getOwnerGroup();
      DBFactory.getInstance().deleteObject(ce);
      if (owner != null) {
        log.debug("deleteCatalogEntry case_1: delete owner-group=" + owner);
        securityManager.deleteSecurityGroup(owner);
      }
    } else {
      List secGroupsToBeDeleted = new ArrayList();
      //FIXME pb: the transaction must also include the deletion of the security
      // groups. Why not using this method as a recursion and seperating the
View Full Code Here

Examples of org.olat.basesecurity.Manager.deleteSecurityGroup()

      deleteCatalogSubtree(ce,secGroupsToBeDeleted);
      // after deleting all entries, delete all secGroups corresponding
      for (Iterator iter = secGroupsToBeDeleted.iterator(); iter.hasNext();) {
        SecurityGroup grp = (SecurityGroup) iter.next();
        log.debug("deleteCatalogEntry case_2: delete groups of deleteCatalogSubtree grp=" + grp);
        securityManager.deleteSecurityGroup(grp);
      }
    }
    log.debug("deleteCatalogEntry END");
  }
View Full Code Here

Examples of org.olat.basesecurity.Manager.deleteSecurityGroup()

        // 2. Delete named group logon_denied
        DB db = DBFactory.getInstance();
        db.delete("from org.olat.basesecurity.NamedGroupImpl as ngroup where ngroup.groupName = ?", new Object[] { "logondenied" },// so far: Constants.GROUP_LOGON_DENIED
            new Type[] { Hibernate.STRING });
        // 3. Delete security-group 'Logon_denied'
        secManager.deleteSecurityGroup(loginDeniedGroup);
        log.audit("Delete security-group 'Logon_denied'");
      }
      uhd.setBooleanDataValue(TASK_MIGRATE_LOGIN_DENIED_SECURITY_GROUP_DONE, true);

      log.audit("+---------------------------------------------------------------------------------+");
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.