The following code fragment
shows how the DestroyAccessControlTemplate method is issued in a Java
environment:
public void destroyAccessControlTemplate(String transCtxt, String
ACTSpec)
throws Exception {
try
{
iSecurityAdmin.DestroyAccessControlTemplate(transCtxt, ACTSpec);
}
catch (Exception e) {
System.out.println("DestroyAccessControlTemplate: Exceptions");
e.printStackTrace();
throw e;
}
}
The following example
destroys the ACT identified by ACTSPEC:
public void termACT() throws Exception {
try {
iSecurityAdmin.destroyAccessControlTemplate("", ACTspec);
}
catch (Exception e)
{
throw e;
}
}