1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.om.security;
18
19 import org.apache.turbine.om.security.User;
20
21 import java.util.Date;
22
23 /***
24 * A Jetspeed extension of the Turbine User interface.
25 *
26 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
27 * @author <a href="mailto:morciuch@apache.org">Mark Orciuch</a>
28 * @version $Id: JetspeedUser.java,v 1.4 2004/02/23 03:14:12 jford Exp $
29 */
30 public interface JetspeedUser extends User
31 {
32 public static final String DISABLED = "DISABLED";
33 public static final String USER_ID = "USER_ID";
34 public static final String PASSWORD_CHANGED = "PASSWORD_CHANGED";
35
36 /***
37 * Returns the disabled status for the user
38 *
39 * @return True when the account is disabled
40 */
41 public boolean getDisabled();
42
43 public void setDisabled(boolean disabled);
44
45
46 /***
47 * Returns the primary principle for this User, the user id.
48 *
49 * @return the user id.
50 */
51 public String getUserId();
52
53
54 public boolean isNew();
55
56 /***
57 * Returns the date of last password change
58 *
59 * @return date
60 */
61 public Date getPasswordChanged();
62
63 /***
64 * Sets the date of last password change
65 *
66 * @param value Date
67 */
68 public void setPasswordChanged(Date value);
69
70 }