getLDAPAttributes() Get the JNDI Attributes used to store the user in LDAP.
This method could be redefined in a subclass.
throws: NamingException - if there is a JNDI error.
getPerm(String name, Object def) Get an object from permanent storage; return default if value
is null.
Parameters: name - The object's name. Parameters: def - A default value to return.
getTemp(String name, Object def) Get an object from temporary storage; return default if value
is null.
Parameters: name - The object's name. Parameters: def - A default value to return.
isConfirmed() This method reports whether or not the user has been confirmed
in the system by checking the CONFIRM_VALUE
column to see if it is equal to CONFIRM_DATA.
Get the JNDI Attributes used to store the user in LDAP.
This method could be redefined in a subclass.
throws: NamingException - if there is a JNDI error. The JNDI attributes of the user.
Gets the last access date for this User. This is the last time
that the user object was referenced.
A Java Date with the last access date for the user.
Get an object from permanent storage; return default if value
is null.
Parameters: name - The object's name. Parameters: def - A default value to return. An Object with the given name.
Get an object from temporary storage; return default if value
is null.
Parameters: name - The object's name. Parameters: def - A default value to return. An Object with the given name.
A User object can have a variable Timeout, which is defined in
minutes. If the user has been timed out, then the
hasLoggedIn() value will return false.
An int specifying the timeout.
This method reports whether or not the user has been confirmed
in the system by checking the CONFIRM_VALUE
column to see if it is equal to CONFIRM_DATA.
True if the user has been confirmed.
Populates the user with values obtained from the LDAP Service.
This method could be redefined in subclasses.
Parameters: attribs - The attributes obtained from LDAP. throws: NamingException - if there was an error with JNDI.
A User object can have a variable Timeout which is defined in
minutes. If the user has been timed out, then the
hasLoggedIn() value will return false.
Parameters: time - The user's timeout.