4.24 - Delete a Static Separation of Duty (SSD) Set

SDSet deleteSsdSet(SDSet ssdSet) throws SecurityException

This command deletes a SSD role set completely. The command is valid if and only if the SSD role set exists.

required parameters:

  • SDSet#name - contains the name of SSD set to be removed.


  • SecurityException - thrown in the event of data validation or system error.


import org.apache.directory.fortress.core.AdminMgr;
import org.apache.directory.fortress.core.AdminMgrFactory;
import org.apache.directory.fortress.core.model.SDSet;
import org.apache.directory.fortress.core.SecurityException;

public static void testDeleteSsdSet()
    String szLocation = ".testDeleteSsdSet";
        AdminMgr adminMgr = AdminMgrFactory.createInstance();
        SDSet inSsdSet = new SDSet();
        inSsdSet.setName( "mySsdSetName" );
        SDSet outSsdSet = am.deleteSsdSet( inSsdSet );
    catch (SecurityException ex)
        LOG.error(szLocation + " caught SecurityException rc=" + ex.getErrorId() + ", msg=" + ex.getMessage(), ex);