KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > owxv3 > api > usermgr > User


1 /*
2  * User.java
3  *
4  * Created on May 28, 2003, 4:51 PM
5  */

6
7 package com.raptus.owxv3.api.usermgr;
8
9 import java.util.*;
10 /**
11  * The interface returned by the user managers
12  * All user magers should return a class implementing this interface
13  *
14  * @author root
15  */

16 public interface User
17 {
18     /**
19      * Return the display name of this user
20      *
21      * @return the display name of this user
22      */

23     public String JavaDoc getName();
24     
25     /**
26      * return the login name of this user
27      *
28      * @return the login name of this user
29      */

30     public String JavaDoc getUsername();
31     
32     /**
33      * return the password of this user
34      *
35      * @return the password of this user
36      */

37     public String JavaDoc getPassword();
38     
39     /**
40      * return the email address of this user
41      *
42      * @return the email address of this user
43      */

44     public String JavaDoc getEmail();
45     
46     /**
47      * return the locale of this user
48      *
49      * @return the locale of this user
50      */

51     public Locale getLocale();
52     
53     /**
54      * Return the list of roles
55      *
56      * @return list of roles, as iterator
57      */

58     public Iterator getRoles();
59 }
60
Popular Tags