Librarian - User Path

Description

This librarian provides virtual "user" directories by looking in a user path or by reading /etc/passwd. It looks for "public_aserver" directories inside of each users directory and provides a virtual directory by the name "~<username>" if it finds one much in the same way that web servers publish "public_html" directories.

This provides the same functionality as the "userPath" and "smartUserScan" directives in the Analysis Server configuration.

Configuration

librarian class: com.phoenix_int.aserver.library.PHXUserDirLibrarian

There are 2 options for this class. The first is "userPath", which is a semi-colon separated list of paths to search. Each path will be searched for public_aserver directories one level deep from the specified directory. For example, if you specify "/home", directories "/home/mike/public_aserver" and "/home/jill/public_aserver" will match while "/home/public_aserver" will not match.

The other option is "smartUserScan", which tells this class to try and read the user's home directories from /etc/passwd when you are on a UNIX platform.

Note, the mere existance of the smartUserScan tag turns the option on.

<librarianOptions>
 <userPath>path1/here;path2</userPath>
 <smartUserScan/>
</librarianOptions>

See Also: