Hi all,

I've been playing around with using a (CXF) REST client with Syncope.
I have a number of queries mainly revolving around Ids.:

1) Most of the REST API's for Users seem to focus on User Id's rather
than Usernames. One exception is where you can read a user by either
Id or username. However I can only delete a user by Id and not
username. Should the UserController be modified to also accept a
username for delete?

2) When creating a new user, you must specify any roles the user is a
member of via the Role Id rather than the Role name. Again, should
this be changed so that either works? It seems reasonable to me to be
able to only specify the role name as the user might not know the role
Id without having to perform another query. Similarly, MembershipMod
only takes the Role Id and not the Role Name, if you want to update
the role of a user.

3) It does not seem to be possible to specify a User Id when creating
a new user - any value I set via UserMod.setId gets ignored. Is this
expected behaviour or a bug?

4) Is it possible to update a user's attributes or membership
information without also changing the password? I'm running into
exceptions when I try to do this - maybe I'm messing something up
though.

5) AbstractAttributableMod has no method to add a new (non
derived/virtual) attribute - only a method to update it. Is this an
oversight? The method naming is not consistent here - should it be
possible to add/remove/update both attributes, derived, and virtual
attributes?

Thanks!

Colm.

-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to