Source code: org/mom4j/api/Mom4jUser.java
1 /*
2 * This Java source is issued under the LGPL license.
3 * See http://www.gnu.org/licenses/lgpl.html for details.
4 */
5 package org.mom4j.api;
6
7 /**
8 * This interface represents a mom4j user.
9 *
10 * @version $Id: Mom4jUser.java,v 1.2 2003/07/25 07:33:16 the_real_grace Exp $ $Date: 2003/07/25 07:33:16 $
11 */
12 public interface Mom4jUser {
13
14 /**
15 * @return the id of the user
16 */
17 public String getId();
18
19 /**
20 * @return the users password
21 */
22 public String getPassword();
23
24 /**
25 * @return true if the user has admin rights, false otherwise
26 */
27 public boolean isAdmin();
28
29 }