void removeAttribute(String attrName) throws SMSException {
  if (attrName == null) {
    return;
  }
  Map attrMap=getAttributeMapping();
  String amsdkAttrName=(String)attrMap.get(attrName);
  if (amsdkAttrName != null) {
    HashSet set=new HashSet();
    set.add(amsdkAttrName);
    try {
      parentOrg.removeAttributes(set);
      parentOrg.store();
    }
 catch (    AMException ame) {
      if (debug.messageEnabled()) {
        debug.message("OrgConfigViaAMSDK::removeAttribute" + ": failed with AMException",ame);
      }
      throw (new SMSException(AMSDKBundle.BUNDLE_NAME,ame.getMessage(),ame,ame.getMessage()));
    }
catch (    SSOException ssoe) {
      throw (new SMSException(bundle.getString("sms-INVALID_SSO_TOKEN"),ssoe,"sms-INVALID_SSO_TOKEN"));
    }
  }
}

void removeAttribute ( String attrName ) throws SMSException { if ( attrName == null ) { return ; } Map attrMap = getAttributeMapping ( ) ; String amsdkAttrName = ( String ) attrMap . get ( attrName ) ; if ( amsdkAttrName != null ) { HashSet set = new HashSet ( ) ; set . add ( amsdkAttrName ) ; try { parentOrg . removeAttributes ( set ) ; parentOrg . store ( ) ; } catch ( AMException ame ) { if ( debug . messageEnabled ( ) ) { debug . message ( "OrgConfigViaAMSDK::removeAttribute" + ": failed with AMException" , ame ) ; } throw ( new SMSException ( AMSDKBundle . BUNDLE_NAME , ame . getMessage ( ) , ame , ame . getMessage ( ) ) ) ; } catch ( SSOException ssoe ) { throw ( new SMSException ( bundle . getString ( "sms-INVALID_SSO_TOKEN" ) , ssoe , "sms-INVALID_SSO_TOKEN" ) ) ; } } }
removes the specified attribute from amsdk organization . the organziation attribute names are defined in the idrepo service .
