jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@gmail.com>
Subject UserManager API strangeness
Date Thu, 11 Mar 2010 10:47:52 GMT

Forgive me if this has been discussed before (yes, I know I should RTFM
and list archives).

I see the UserManager interface has an autoSave(boolean) method, which
must be called to have the user manager persist any created users and
groups immediately after creation. The setup can also be asked by
calling the isAutoSave() method.

So far, so good.

What strikes me is, that to actually persist changes made by the
UserManager, the Session.save() method must be called. IMHO for a proper
level of alignment, the UserManager should probably be extended with
save() and rollback() methods.



View raw message