cmu.survey.data.users
Class UserStorageStub.DefaultUserStub
java.lang.Object
cmu.survey.data.users.UserStub
cmu.survey.data.users.UserStorageStub.DefaultUserStub
- All Implemented Interfaces:
- User
- Enclosing class:
- UserStorageStub
public class UserStorageStub.DefaultUserStub
- extends UserStub
Methods inherited from class cmu.survey.data.users.UserStub |
canSetPassword, canSetUserID, getDataBits, getEmailAddress, getFirstName, getLastName, getOtherPropertiesKeySet, getOtherProperty, getUserID, hasBeenModified, isNew, isOtherPropertyEditable, passwordMatches, setEmailAddress, setFirstName, setLastName, setNew, setOtherProperty, setPassword, setUserID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserStorageStub.DefaultUserStub
public UserStorageStub.DefaultUserStub(boolean isNew)
UserStorageStub.DefaultUserStub
public UserStorageStub.DefaultUserStub(java.lang.String userID)
UserStorageStub.DefaultUserStub
public UserStorageStub.DefaultUserStub(java.lang.String userID,
java.lang.String password,
java.lang.String emailAddress,
java.lang.String firstName,
java.lang.String lastName)
UserStorageStub.DefaultUserStub
public UserStorageStub.DefaultUserStub(java.lang.String userID,
java.lang.String password,
java.lang.String emailAddress,
java.lang.String firstName,
java.lang.String lastName,
boolean isEditable)
isEditable
public boolean isEditable()
- Specified by:
isEditable
in interface User
- Overrides:
isEditable
in class UserStub
setEditable
public void setEditable(boolean editable)
getUserAuthenticationTechniquesToTry
protected UserAuthentication[] getUserAuthenticationTechniquesToTry()
- Description copied from class:
UserStub
- Subclasses may override this to force a set of UserAuthentications to be used.
- Overrides:
getUserAuthenticationTechniquesToTry
in class UserStub
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object