public void replaceAttributeValue(String attrName,String oldValue,String newValue) throws SMSException, SSOException {
  validatePluginConfig();
  Map attributes=getAttributes();
  Set newVals=new HashSet();
  Set oldVals=(Set)attributes.get(attrName);
  if (oldVals != null) {
    newVals.addAll(oldVals);
    newVals.remove(oldValue);
  }
  newVals.add(newValue);
  ps.validateAttrValues(token,attrName,newVals,true,pc.getOrganizationName());
  SMSEntry e=pc.getSMSEntry();
  SMSUtils.replaceAttributeValue(e,attrName,oldValue,newValue,ps.getSearchableAttributeNames());
  saveSMSEntry(e);
}

public void replaceAttributeValue ( String attrName , String oldValue , String newValue ) throws SMSException , SSOException { validatePluginConfig ( ) ; Map attributes = getAttributes ( ) ; Set newVals = new HashSet ( ) ; Set oldVals = ( Set ) attributes . get ( attrName ) ; if ( oldVals != null ) { newVals . addAll ( oldVals ) ; newVals . remove ( oldValue ) ; } newVals . add ( newValue ) ; ps . validateAttrValues ( token , attrName , newVals , true , pc . getOrganizationName ( ) ) ; SMSEntry e = pc . getSMSEntry ( ) ; SMSUtils . replaceAttributeValue ( e , attrName , oldValue , newValue , ps . getSearchableAttributeNames ( ) ) ; saveSMSEntry ( e ) ; }
replaces old value of the configuration parameter with new value .
