Method Summary |
|
public void | add() |
public void | delete() |
public boolean | find() |
public String | getAccountStatus() |
public Vector | getAllUsers() |
public DirContext | getContext() Most often used for testing to peak into things. |
public String | getCreateDate() |
public String | getDBName() Return the name of the context/database connection that this DB object is using. |
public String | getDataContext() |
public String | getEmail() |
public String | getEmailAuthCode() Here we generate an authorization code that would be hard for someone to guess.
The idea is that the person has to check the email sent to them to get this
number, and then click on the specially encoded URL to ensure that he/she
actually is checking the email account used at registration.
The little trick of getting the time in milliseconds that the person registered,
multiplying by some constant, and then rounding, is extremely weak. |
public String | getEmailValCode() |
public String | getField(String fieldName) getField method comment. |
public Enumeration | getFieldList() |
public java.util.Vector | getGroups() |
public String | getLoginName() |
public String | getPassword() |
public String | getPrimaryGroup() |
public boolean | getRegComplete() |
public String | getRegistrationDomain() |
public String | getRoot() |
public int | getUid() |
public String | getUpdateDate() |
public String | getUserName() |
public Vector | getValues() Method to return a Vector of ValidValue
This method may be implemented by objects that want to provide a
list of valid values for other DB objects. |
public String | hashEncodePassword(String password) this returns an appropriately hashed password. |
public void | notify(String subject, String message) Send this user a notification via e-mail. |
public boolean | passwordEquals(String tryPassword) |
public String | randomPassword() |
public void | retrieve() retrieve method comment. |
public void | sendAuthEmail() Sends an Authorization Email to a new User. |
public void | sendFollowUpEmail() Once a user has validated his email address through the email validation
servlet, the user will receive this message giving previously requested
username/password. |
public void | setAccountStatus(String name) |
public void | setCreateDate(String name) |
public void | setDBName(String newDBName) |
public void | setEmail(String name) |
public void | setEmailAuthCode(String name) |
public void | setEmailValCode(String code) |
public void | setLoginName(String name) |
public void | setPassword(String password) |
public void | setRegComplete(boolean status) |
public void | setRegistrationDomain(String domain) |
public void | setUid(int uid) |
public void | setUpdateDate(String name) |
public void | setUserName(String name) |
public void | update() update method comment. |