1 13 package info.magnolia.cms.security.auth; 14 15 import java.io.Serializable ; 16 import java.security.Principal ; 17 18 19 22 public interface Entity extends Principal , Serializable { 23 24 27 public static final String FULL_NAME = "fullName"; 28 29 public static final String NAME = "name"; 30 31 public static final String EMAIL = "email"; 32 33 public static final String LANGUAGE = "language"; 34 35 public static final String LOCALE = "locale"; 36 37 public static final String ADDRESS_LINE = "address"; 38 39 public static final String PASSWORD = "password"; 40 41 public String getName(); 42 43 public void setName(String name); 44 45 public void addProperty(String key, Object value); 46 47 public Object getProperty(String key); 48 } 49 | Popular Tags |