[CDO] Best practices for managing users [message #1828172] |
Wed, 03 June 2020 04:51  |
Eclipse User |
|
|
|
We are administrating users directly within our application (and not via the Eclipse IDE). So a client with admin privileges can add/remove users.
Now, what we do is very simple:
* Open the realm in a transaction
* Add a user by calling realm.addUser
* Remove a user by calling realm.removeUser
The user removal seems wrong to me. because we need to always catch a NoPermissionException. The exception states, that the password is inaccessible.
There exists the class SecurityManager, but as far as I can see, it is only meant for server-side usage?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03584 seconds