/**
  * Method Set the attributes of an entry.
  *
  * @param token SSOToken
  * @param entryDN DN of the profile whose template is to be set
  * @param objectType profile type
  * @param stringAttributes a AMHashMap of attributes to be set
  * @param byteAttributes a AMHashMap of attributes to be set
  * @param isAdd <code>true</code> add to existing value; otherwise replace the existing value
  */
 public void setAttributes(
     SSOToken token,
     String entryDN,
     int objectType,
     Map stringAttributes,
     Map byteAttributes,
     boolean isAdd)
     throws AMException, SSOException {
   super.setAttributes(token, entryDN, objectType, stringAttributes, byteAttributes, isAdd);
   // Cache clean ups
   if (objectType == AMObject.USER) {
     // Update cache locally for modified delted user attributes
     updateCache(token, entryDN, stringAttributes, byteAttributes);
   } else if (objectType != AMObject.USER) {
     // Remove the entry from cache
     dirtyCache(entryDN);
   }
 }