예제 #1
0
 /**
  * Put an object into temporary storage. If the value is null, it will convert that to a ""
  * because the underlying storage mechanism within TurbineUser is currently a Hashtable and null
  * is not a valid value.
  *
  * @param name The object's name.
  * @param value The object.
  */
 public void setTemp(String name, Object value) {
   ObjectUtils.safeAddToHashtable(tempStorage, name, value);
 }
예제 #2
0
 /**
  * Put an object into permanent storage. If the value is null, it will convert that to a ""
  * because the underlying storage mechanism within TurbineUser is currently a Hashtable and null
  * is not a valid value.
  *
  * @param name The object's name.
  * @param value The object.
  */
 public void setPerm(String name, Object value) {
   ObjectUtils.safeAddToHashtable(getPermStorage(), name, value);
 }