org.apache.jetspeed.om.security
Interface JetspeedUser

All Superinterfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, org.apache.turbine.om.security.SecurityEntity, java.io.Serializable, org.apache.turbine.om.security.User
All Known Implementing Classes:
BaseJetspeedUser, LDAPUser

public interface JetspeedUser
extends org.apache.turbine.om.security.User

A Jetspeed extension of the Turbine User interface.

Version:
$Id: JetspeedUser.java,v 1.5 2004/07/21 19:31:35 taylor Exp $
Author:
David Sean Taylor, Mark Orciuch

Field Summary
static java.lang.String DISABLED
           
static java.lang.String PASSWORD_CHANGED
           
static java.lang.String USER_ID
           
 
Fields inherited from interface org.apache.turbine.om.security.User
ACCESS_COUNTER, CONFIRM_DATA, CONFIRM_VALUE, EMAIL, FIRST_NAME, HAS_LOGGED_IN, LAST_LOGIN, LAST_NAME, PASSWORD, SESSION_ACCESS_COUNTER, SESSION_KEY, USERNAME
 
Method Summary
 boolean getDisabled()
          Returns the disabled status for the user
 java.util.Date getPasswordChanged()
          Returns the date of last password change
 java.lang.String getUserId()
          Returns the primary principle for this User, the user id.
 boolean isNew()
           
 void setDisabled(boolean disabled)
           
 void setPasswordChanged(java.util.Date value)
          Sets the date of last password change
 void setUserId(java.lang.String id)
          Sets the primary principle for this User, the user id.
 
Methods inherited from interface org.apache.turbine.om.security.User
getAccessCounter, getAccessCounterForSession, getConfirmed, getCreateDate, getEmail, getFirstName, getLastAccessDate, getLastLogin, getLastName, getPassword, getPerm, getPerm, getPermStorage, getTemp, getTemp, getTempStorage, getUserName, hasLoggedIn, incrementAccessCounter, incrementAccessCounterForSession, isConfirmed, removeTemp, setAccessCounter, setAccessCounterForSession, setConfirmed, setCreateDate, setEmail, setFirstName, setHasLoggedIn, setLastAccessDate, setLastLogin, setLastName, setPassword, setPerm, setPermStorage, setTemp, setTempStorage, setUserName, updateLastLogin
 
Methods inherited from interface javax.servlet.http.HttpSessionBindingListener
valueBound, valueUnbound
 
Methods inherited from interface org.apache.turbine.om.security.SecurityEntity
getName, setName
 

Field Detail

DISABLED

public static final java.lang.String DISABLED
See Also:
Constant Field Values

USER_ID

public static final java.lang.String USER_ID
See Also:
Constant Field Values

PASSWORD_CHANGED

public static final java.lang.String PASSWORD_CHANGED
See Also:
Constant Field Values
Method Detail

getDisabled

public boolean getDisabled()
Returns the disabled status for the user

Returns:
True when the account is disabled

setDisabled

public void setDisabled(boolean disabled)

getUserId

public java.lang.String getUserId()
Returns the primary principle for this User, the user id.

Returns:
the user id.

setUserId

public void setUserId(java.lang.String id)
Sets the primary principle for this User, the user id.

Parameters:
id - the principle

isNew

public boolean isNew()

getPasswordChanged

public java.util.Date getPasswordChanged()
Returns the date of last password change

Returns:
date

setPasswordChanged

public void setPasswordChanged(java.util.Date value)
Sets the date of last password change

Parameters:
value - Date


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.