public void deleteAuthenticationDomain(String realm,String cotName) throws AMConsoleException {
  String[] param={realm,cotName};
  logEvent("ATTEMPT_DELETE_AUTH_DOMAINS",param);
  try {
    CircleOfTrustManager manager=getCircleOfTrustManager();
    manager.deleteCircleOfTrust(realm,cotName);
    logEvent("SUCCEED_DELETE_AUTH_DOMAIN",param);
  }
 catch (  COTException e) {
    String strError=getErrorString(e);
    String[] paramsEx={realm,cotName,strError};
    logEvent("FEDERATION_EXCEPTION_DELETE_AUTH_DOMAIN",paramsEx);
    throw new AMConsoleException(strError);
  }
}

public void deleteAuthenticationDomain ( String realm , String cotName ) throws AMConsoleException { String [ ] param = { realm , cotName } ; logEvent ( "ATTEMPT_DELETE_AUTH_DOMAINS" , param ) ; try { CircleOfTrustManager manager = getCircleOfTrustManager ( ) ; manager . deleteCircleOfTrust ( realm , cotName ) ; logEvent ( "SUCCEED_DELETE_AUTH_DOMAIN" , param ) ; } catch ( COTException e ) { String strError = getErrorString ( e ) ; String [ ] paramsEx = { realm , cotName , strError } ; logEvent ( "FEDERATION_EXCEPTION_DELETE_AUTH_DOMAIN" , paramsEx ) ; throw new AMConsoleException ( strError ) ; } }
deletes an authentication domain ( circle of trust ) within a given realm .
