18 package org.turro.elephant.impl.security;
21 import java.util.HashMap;
22 import org.turro.elephant.context.ElephantContext;
23 import org.turro.reflection.Serializer;
31 private static final long serialVersionUID = 1L;
33 private static final String PREFERENCES_ROOT =
"/WEB-INF/elephant/preferences";
34 private transient String id;
35 private transient File file;
57 return this.
id.equals(
id);
61 public Object
put(String key, Object value) {
62 Object obj = super.put(key, value);
63 Serializer.serialize(file,
this);
67 private void setId(String
id) {
71 private void setFile(File file) {
static String getRealPath(String path)
static UserPreferences getInstance(String id)
boolean isEqual(String id)
Object put(String key, Object value)
static UserPreferences getSystem()