View Javadoc

1   /*
2    * Joey and its relative products are published under the terms
3    * of the Apache Software License.
4    */
5   /*
6    * Created on 2004/01/12
7    */
8   package org.asyrinx.joey.user.impl;
9   
10  import java.util.Map;
11  
12  import org.asyrinx.joey.user.ApplicationUser;
13  
14  /***
15   * @author akima
16   */
17  public class GuestUser implements ApplicationUser {
18  
19  	/***
20  	 *  
21  	 */
22  	public GuestUser() {
23  		super();
24  	}
25  
26  	/***
27  	 * @see org.asyrinx.joey.user.ApplicationUser#getUserId()
28  	 */
29  	public String getUserId() {
30  		return null;
31  	}
32  
33  	/***
34  	 * @see org.asyrinx.joey.user.ApplicationUser#getUserName()
35  	 */
36  	public String getUserName() {
37  		return null;
38  	}
39  
40  	/***
41  	 * @see org.asyrinx.joey.user.ApplicationUser#getProperties()
42  	 */
43  	public Map getProperties() {
44  		return null;
45  	}
46  
47  	/***
48  	 * @see org.asyrinx.joey.user.ApplicationUser#getDisplayName()
49  	 */
50  	public String getDisplayName() {
51  		return "Guest";
52  	}
53  
54  	/***
55  	 * @see org.asyrinx.joey.user.ApplicationUser#setUserId(java.lang.String)
56  	 */
57  	public void setUserId(String userId) {
58  		//do nothing
59  	}
60  
61  }