public void deleteAuthConfiguration(String realm,Set names) throws AMConsoleException {
  StringBuilder errorList=new StringBuilder();
  String message=null;
  for (Iterator i=names.iterator(); i.hasNext(); ) {
    String config=(String)i.next();
    message=null;
    try {
      AMAuthConfigUtils.removeNamedConfig(config,realm,getUserSSOToken());
    }
 catch (    AMConfigurationException e) {
      debug.warning("failed to delete",e);
      message=e.getMessage();
      errorList.append(config);
    }
catch (    SMSException e) {
      debug.warning("failed to delete",e);
      message=e.getMessage();
      errorList.append(config);
    }
catch (    SSOException e) {
      debug.warning("failed to delete",e);
      message=e.getMessage();
      errorList.append(config);
    }
    if (message != null) {
      if (errorList.length() > 0) {
        errorList.append(", ");
      }
    }
  }
  if (errorList.length() > 0) {
    String[] tmp={errorList.toString(),message};
    throw new AMConsoleException(MessageFormat.format(getLocalizedString("authentication.config.delete.failed"),(Object[])tmp));
  }
}

public void deleteAuthConfiguration ( String realm , Set names ) throws AMConsoleException { StringBuilder errorList = new StringBuilder ( ) ; String message = null ; for ( Iterator i = names . iterator ( ) ; i . hasNext ( ) ; ) { String config = ( String ) i . next ( ) ; message = null ; try { AMAuthConfigUtils . removeNamedConfig ( config , realm , getUserSSOToken ( ) ) ; } catch ( AMConfigurationException e ) { debug . warning ( "failed to delete" , e ) ; message = e . getMessage ( ) ; errorList . append ( config ) ; } catch ( SMSException e ) { debug . warning ( "failed to delete" , e ) ; message = e . getMessage ( ) ; errorList . append ( config ) ; } catch ( SSOException e ) { debug . warning ( "failed to delete" , e ) ; message = e . getMessage ( ) ; errorList . append ( config ) ; } if ( message != null ) { if ( errorList . length ( ) > 0 ) { errorList . append ( ", " ) ; } } } if ( errorList . length ( ) > 0 ) { String [ ] tmp = { errorList . toString ( ) , message } ; throw new AMConsoleException ( MessageFormat . format ( getLocalizedString ( "authentication.config.delete.failed" ) , ( Object [ ] ) tmp ) ) ; } }
deletes the named authentication configuration object .
