hi nicolas

On 31/07/15 10:48, "Nicolas Peltier" <[email protected]> wrote:

>Hi,
>
>i¹ve seen that UserManager.autosave was an unsupported operation, and
>thus using LDAP sync with many users generates a save at each user/group
>creation which makes the sync very slow.

not sure i get that.... if autosave was enabled _every_ single
operation on the user management API would trigger a session.save.
isn't that just what you wish to avoid?

btw: autosave is not supported by default, but for backwards compatibility
it can be enabled... but it's really just meant for those cases where
this is inevitable.

>Installing a package of users is much quicker, so i¹m wondering if there
>is a way to create user with an API without saving at each user creation,
>group creation, membership change?

whenever you create or modify a user/group using regular user management
API the changes are not autosaved by default and it's up to the
caller to persist the changes by calling Session.save().

or do you specifically mean the creation of a user in the context of
sync from LDAP (or some other external identity provider)?

>Thanks for your answers,

i guess you need to clarify your question again...

kind regards
angela

>Nicolas
>
>

Reply via email to