public String renameEntry(SSOToken token,int objectType,String entryDN,String newName,boolean deleteOldName) throws AMException {
  String newDN=super.renameEntry(token,objectType,entryDN,newName,deleteOldName);
  String oldDN=LDAPUtils.formatToRFC(entryDN);
  CacheBlock cb=(CacheBlock)sdkCache.remove(oldDN);
  newDN=LDAPUtils.formatToRFC(newDN);
  sdkCache.put(newDN,cb);
  return newDN;
}

public String renameEntry ( SSOToken token , int objectType , String entryDN , String newName , boolean deleteOldName ) throws AMException { String newDN = super . renameEntry ( token , objectType , entryDN , newName , deleteOldName ) ; String oldDN = LDAPUtils . formatToRFC ( entryDN ) ; CacheBlock cb = ( CacheBlock ) sdkCache . remove ( oldDN ) ; newDN = LDAPUtils . formatToRFC ( newDN ) ; sdkCache . put ( newDN , cb ) ; return newDN ; }
renames an entry . currently used for only user renaming .
