1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.om.security;
1819import org.apache.turbine.om.security.User;
2021import java.util.Date;
2223/***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 */30publicinterfaceJetspeedUserextends User
31 {
32publicstaticfinal String DISABLED = "DISABLED";
33publicstaticfinal String USER_ID = "USER_ID";
34publicstaticfinal String PASSWORD_CHANGED = "PASSWORD_CHANGED";
3536/***37 * Returns the disabled status for the user38 *39 * @return True when the account is disabled40 */41publicboolean getDisabled();
4243publicvoid setDisabled(boolean disabled);
444546/***47 * Returns the primary principle for this User, the user id.48 *49 * @return the user id.50 */51public String getUserId();
525354publicboolean isNew();
5556/***57 * Returns the date of last password change58 *59 * @return date60 */61public Date getPasswordChanged();
6263/***64 * Sets the date of last password change65 * 66 * @param value Date67 */68publicvoid setPasswordChanged(Date value);
6970 }