org.apache.jetspeed.services.security.nosecurity
Class FakeJetspeedUser

java.lang.Object
  extended byorg.apache.jetspeed.om.security.BaseJetspeedUser
      extended byorg.apache.jetspeed.services.security.nosecurity.FakeJetspeedUser
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, JetspeedUser, org.apache.turbine.om.security.SecurityEntity, java.io.Serializable, org.apache.turbine.om.security.User

public class FakeJetspeedUser
extends BaseJetspeedUser

A fake jetspeed user - constructed as needed.

Version:
$Id: FakeJetspeedUser.java,v 1.2 2004/02/23 03:53:24 jford Exp $
Author:
Glenn R. Golden
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.om.security.BaseJetspeedUser
isNew, name
 
Fields inherited from interface org.apache.jetspeed.om.security.JetspeedUser
DISABLED, PASSWORD_CHANGED, 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
 
Constructor Summary
FakeJetspeedUser(java.lang.String id, boolean loggedIn)
           
 
Method Summary
 void save()
          Saves this object to the data store.
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent hsbe)
          Implement this method if you wish to be notified when the User has been Unbound from the session.
 
Methods inherited from class org.apache.jetspeed.om.security.BaseJetspeedUser
getAccessCounter, getAccessCounterForSession, getConfirmed, getCreateDate, getDisabled, getEmail, getFirstName, getLastAccessDate, getLastLogin, getLastName, getName, getPassword, getPasswordChanged, getPerm, getPerm, getPermStorage, getTemp, getTemp, getTempStorage, getUserId, getUserName, hasLoggedIn, incrementAccessCounter, incrementAccessCounterForSession, isConfirmed, isNew, removeTemp, setAccessCounter, setAccessCounterForSession, setConfirmed, setCreateDate, setDisabled, setEmail, setFirstName, setHasLoggedIn, setLastAccessDate, setLastLogin, setLastName, setName, setNew, setPassword, setPasswordChanged, setPerm, setPermStorage, setTemp, setTempStorage, setUserId, setUserName, updateLastLogin, valueBound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeJetspeedUser

public FakeJetspeedUser(java.lang.String id,
                        boolean loggedIn)
Method Detail

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent hsbe)
Description copied from class: BaseJetspeedUser
Implement this method if you wish to be notified when the User has been Unbound from the session.

Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener
Overrides:
valueUnbound in class BaseJetspeedUser
Parameters:
hsbe - The HttpSessionBindingEvent.

save

public void save()
Description copied from class: BaseJetspeedUser
Saves this object to the data store.

Overrides:
save in class BaseJetspeedUser


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