public void handleButton1Request(RequestInvocationEvent event) throws ModelControlException {
  CCActionTable table=(CCActionTable)getChild(AUTH_ENTRY_TABLE);
  table.restoreStateData();
  acModel=(AuthConfigurationModel)getModel();
  acModel.setEntries(getTableData());
  try {
    Map original=acModel.getValues();
    AMPropertySheet ps=(AMPropertySheet)getChild(PROPERTY_ATTRIBUTE);
    Map updated=ps.getAttributeValues(original,true,acModel);
    acModel.setValues(updated);
    acModel.store(getRealmName(),getConfigName());
    setInlineAlertMessage(CCAlert.TYPE_INFO,"message.information","authentication.save.ok");
  }
 catch (  AMConsoleException e) {
    setInlineAlertMessage(CCAlert.TYPE_ERROR,"message.error",e.getMessage());
    tablePopulated=false;
  }
  forwardTo();
}

public void handleButton1Request ( RequestInvocationEvent event ) throws ModelControlException { CCActionTable table = ( CCActionTable ) getChild ( AUTH_ENTRY_TABLE ) ; table . restoreStateData ( ) ; acModel = ( AuthConfigurationModel ) getModel ( ) ; acModel . setEntries ( getTableData ( ) ) ; try { Map original = acModel . getValues ( ) ; AMPropertySheet ps = ( AMPropertySheet ) getChild ( PROPERTY_ATTRIBUTE ) ; Map updated = ps . getAttributeValues ( original , true , acModel ) ; acModel . setValues ( updated ) ; acModel . store ( getRealmName ( ) , getConfigName ( ) ) ; setInlineAlertMessage ( CCAlert . TYPE_INFO , "message.information" , "authentication.save.ok" ) ; } catch ( AMConsoleException e ) { setInlineAlertMessage ( CCAlert . TYPE_ERROR , "message.error" , e . getMessage ( ) ) ; tablePopulated = false ; } forwardTo ( ) ; }
handles save button request .
