As JR said, I think that mutable XML is not a good idea. Just use the DB users.

On 12-dec-05, at 17:19, F Baube wrote:

Look in your WEB-INF/web.xml file;
it's defined in the init-param "rep.path"

I'm asking about this because I have previously discussed
making the file rep/users.xml (i.e. MemoryUsers) a writable,
updatable resource.

A question for Geert is:

If my authentication source is a _database_, and I call
RoleUsersManager addUser(..) or removeUser(..), is the
DB updated to reflect the change, as one would expect ?


Because the issue w.r.t. rep/users.xml is:  If I write a
new class MutableMemoryUsers, and I call RoleUsersManager
addUser(..) or removeUser(..) on it, how do I tell Rife to

1) mirror the changes to rep/users.xml , AND

2) update Rife's runtime authentication database

In other words.. (a) how much of these is there already
support for, and (b) how much new code must be written,
and (c) where are the triggers to the Rife runtime engine.

In any case it might be wiser to move to an in-DB authentication
source, if the addition and removal of users is already handled.


fred

_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to