| org.apache.lenya.ac.impl.AbstractUser org.apache.lenya.ac.file.FileUser
All known Subclasses: org.apache.lenya.ac.ldap.LDAPUser, org.apache.lenya.ac.cifs.CIFSUser,
FileUser | public class FileUser extends AbstractUser implements Item,Serializable(Code) | | File-based user implementation.
version: $Id: FileUser.java 485769 2006-12-11 17:41:23Z andreas $ |
DOCUMENT_LOCALE | final protected static String DOCUMENT_LOCALE(Code) | | |
PASSWORD_ATTRIBUTE | final protected static String PASSWORD_ATTRIBUTE(Code) | | |
FileUser | public FileUser(ItemManager itemManager, Logger logger)(Code) | | Creates a new FileUser object.
Parameters: itemManager - The item manager. Parameters: logger - The logger. |
FileUser | public FileUser(ItemManager itemManager, Logger logger, String id, String fullName, String email, String password)(Code) | | Create a FileUser
Parameters: itemManager - The item manager. Parameters: logger - The logger. Parameters: id - the user id Parameters: fullName - the full name of the user Parameters: email - the users email address Parameters: password - the users password |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | Configure this FileUser.
Parameters: config - where the user details are specified throws: ConfigurationException - if the necessary details aren't specifiedin the config |
createConfiguration | protected Configuration createConfiguration()(Code) | | Create a configuration from the current user details. Can be used for
saving.
a Configuration |
getConfigurationDirectory | protected File getConfigurationDirectory()(Code) | | Returns the configuration directory.
A file object. |
getFile | protected File getFile()(Code) | | Returns the configuration file.
A file object. |
setConfigurationDirectory | protected void setConfigurationDirectory(File _configurationDirectory)(Code) | | |
|
|