User Profile
From OpenI Wiki
Originally introduced by pedrix as part of I18n.
Each user can have a unique profile that will be stored in a single xml file. This should minimize locking issues and memory overloading. This file will be named after loggin Id and will be placed at [openi's root directory]-projects/WEB-INF folder. However, if there is no user definition, Id and name fields will be filled with user's loggin.
Fields (tags) available:
- id: user's loggin
- name: user's full name
- language: must include an standart two char locale code (i.e, en for english, es for spanish or ca for catalan).
- mail: the e-mail address
Provided a user profile is available, we will not store only the locale, but some other user information. The information available at this moment is full user's name and user's mail. An example for the user root could be:
File: /openi-projects/WEB-INF/root.xml
<org.openi.project.ProjectUser> <id>root</id> <name>root full name</name> <language>es</language> <mail>root@somemail.com</mail> </org.openi.project.ProjectUser>
The contents of this file will map the class org.openi.project.ProjectUser and will be loaded when the project context is loaded. Actually, project user becomes a property of the project context.
