portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-917) User home directory path needs to be optimized and customizable.
Date Mon, 01 Dec 2008 16:13:44 GMT

     [ https://issues.apache.org/jira/browse/JS2-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Woonsan Ko updated JS2-917:

    Fix Version/s:     (was: 2.2-M1)

I think two solutions are possible:
(1) To replace Folder constants like USER_FOLDER by using a home locator interface. (e.g.
pageManager.getHomeLocator().getHomeLocation(user) )
(2) To improve or add new FolderHandler and DocumentHandler to CastorXmlPageManager.

Regarding (1), it's not simple to fix this quickly because many codes are using Folder constants
directly. Furthermore, DatabasePageManager is using the path directly to query pages. That
is, the path is being regarded as a logical path. So, I don't think (1) is a good solution.
The solution, (2), looks better, but it is not simple to fix quickly now either.

> User home directory path needs to be optimized and customizable.
> ----------------------------------------------------------------
>                 Key: JS2-917
>                 URL: https://issues.apache.org/jira/browse/JS2-917
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: PSML
>    Affects Versions: 2.1.3
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.3
> Currently, user's home directory is created under a specified folder (e.g. "/_user/admin").
> So, if there are many users to create home directory, then it could be problematic in
the sense of performance and availability. That is, if there are more than 5000 sub-directories
under the /_user/, it will consume much memory and response time.
> Therefore, we need a separated interface to play a "home locator" role.
> Also, I think the default implementation for the interface should support some predefined
variables as most mail servers do. For example, a configuration like '/_user/%2u/%u' can help
to locate '/_user/ad/admin' for 'admin' user.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message