KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > cms > security > auth > Entity


1 /**
2  *
3  * Magnolia and its source-code is licensed under the LGPL.
4  * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
5  * When copying, adapting, or redistributing this document in keeping with the guidelines above,
6  * you are required to provide proper attribution to obinary.
7  * If you reproduce or distribute the document without making any substantive modifications to its content,
8  * please use the following attribution line:
9  *
10  * Copyright 1993-2006 obinary Ltd. (http://www.obinary.com) All rights reserved.
11  *
12  */

13 package info.magnolia.cms.security.auth;
14
15 import java.io.Serializable JavaDoc;
16 import java.security.Principal JavaDoc;
17
18
19 /**
20  * @author Sameer Charles $Id: Entity.java 6341 2006-09-12 09:18:27Z philipp $
21  */

22 public interface Entity extends Principal JavaDoc, Serializable JavaDoc {
23
24     /**
25      * default properties
26      */

27     public static final String JavaDoc FULL_NAME = "fullName";
28
29     public static final String JavaDoc NAME = "name";
30
31     public static final String JavaDoc EMAIL = "email";
32
33     public static final String JavaDoc LANGUAGE = "language";
34
35     public static final String JavaDoc LOCALE = "locale";
36
37     public static final String JavaDoc ADDRESS_LINE = "address";
38
39     public static final String JavaDoc PASSWORD = "password";
40
41     public String JavaDoc getName();
42
43     public void setName(String JavaDoc name);
44
45     public void addProperty(String JavaDoc key, Object JavaDoc value);
46
47     public Object JavaDoc getProperty(String JavaDoc key);
48 }
49
Popular Tags