Re: Problem at creating a role.

2013-07-24 Thread German Parente
Hi, sorry for the noise. Please, forget this message. I had not the complet report from engineer. There was an error at import of the database. Regards, German. Hi all, I have an application creating roles by default at web app startup. I am having this error: 06:18:22.309 INFO org.ac

Problem at creating a role.

2013-07-24 Thread German Parente
Hi all, I have an application creating roles by default at web app startup. I am having this error: 06:18:22.309 INFO org.activiti.engine.impl.bpmn.deployer.BpmnDeployer - Processing resource userWorkflow.bpmn20.xml 06:18:32.334 ERROR org.apache.syncope.core.sync.impl.SyncopeSyncResultHandler

Re: Question about reconciliation task.

2013-07-18 Thread German Parente
Thanks a lot Fabio. I can workaround this from my side very easily. Please, send me the issue number as possible. Thanks and regards, German. On 07/18/2013 11:04 AM, Fabio Martelli wrote: Il 17/07/2013 16:18, German Parente ha scritto: Hi Fabio, thanks a lot for your answer. I am

Question about reconciliation task.

2013-07-17 Thread German Parente
Hi, I am working with a configuration where I use to provision users/roles into syncope through reconciliation task. After running this task, I see that the user login to syncope is, in fact, the "cn" of ldap user and not the "uid" attribute of the user. In the configuration of my ldap_conn

Question regarding RSchema

2013-06-25 Thread German Parente
Hi, I have a role attribute "resourceEntitlement" in RSchema. This is an attribute of enum type. I see the values are stored in "enumerationValues" field of table RSchema. Now I would like to provide a description for each value. I would be tempted to use the "Enumeration labels" provided by

Re: Question about de-assigning role from user.

2013-06-21 Thread German Parente
On 06/21/2013 05:28 PM, Fabio Martelli wrote: Il 21/06/2013 17:07, German Parente ha scritto: Hi, I have a question about role assign/de-assign. When I want to deassing a role from a user, I am creating a userMod object and setting into it: userMod.setId(currentuser.getId

Question about de-assigning role from user.

2013-06-21 Thread German Parente
Hi, I have a question about role assign/de-assign. When I want to deassing a role from a user, I am creating a userMod object and setting into it: userMod.setId(currentuser.getId()); userMod.addMemberShipToBeRemoved(membershipid) where membership id is the id of the membership corresponding

Re: Question about Role update

2013-06-11 Thread German Parente
On 10/06/2013 11:10, German Parente wrote: >> Hi, >> >> first of all, thanks for the help about user update (UserMod) you have given >> me last time. It was helpful. I have arrived to update a user using rest api. > > Good :-) > >> Now I am having an issue when

Question about Role update.

2013-06-10 Thread German Parente
Hi, first of all, thanks for the help about user update (UserMod) you have given me last time. It was helpful. I have arrived to update a user using rest api. Now I am having an issue when trying to update a role. I cannot arrive to do the right post. I was taking a look to the RoleMod obj

Re: question about assigning roles to user

2013-06-04 Thread German Parente
;ALL" and/or perhaps org.apache.syncope.core.rest aswell? rgds, Nik On 06/04/2013 05:00 PM, Francesco Chicchiriccò wrote: On 04/06/2013 16:54, German Parente wrote: Hi Francesco, In my case, I am just updating a user object, not creating a new one. So, I modify the memberships as in the example. This

Re: question about assigning roles to user

2013-06-04 Thread German Parente
On 06/04/2013 05:00 PM, Francesco Chicchiriccò wrote: On 04/06/2013 16:54, German Parente wrote: Hi Francesco, In my case, I am just updating a user object, not creating a new one. So, I modify the memberships as in the example. This time, the right roleID's are set in the object. A

Re: question about assigning roles to user

2013-06-04 Thread German Parente
ailed. To resume: - retrieve UserTO. - clear memberships object. - set a new memberships object with member's having only RoleID. - put request of UserTO. Thanks and sorry for the noise. Regards, German. On 04/06/2013 15:34, German Parente wrote: Hi guys, I am trying to develop java fu

Re: question about assigning roles to user

2013-06-04 Thread German Parente
Great help. Thanks a lot ! On 04/06/2013 15:34, German Parente wrote: Hi guys, I am trying to develop java functions to assign/unassign roles to user. I am using objects like UserTO and MembershipTO. When setting the Memberships of a UserTo object, I am only setting the role name, like

question about assigning roles to user.

2013-06-04 Thread German Parente
Hi guys, I am trying to develop java functions to assign/unassign roles to user. I am using objects like UserTO and MembershipTO. When setting the Memberships of a UserTo object, I am only setting the role name, like this. UserTO idmUser = new UserTO(); r = getIDMUse

Re: Question about deployment / java api vs. rest services

2013-05-16 Thread German Parente
Hi Francesco, Thanks for your answer. I will take a look at that. Regards, German. On May 15, 2013, at 9:19, Francesco Chicchiriccò wrote: > On 14/05/2013 18:04, German Parente wrote: >> Hi Fabio and all, >> >>>> 2) I have to address from my application the RB

Re: Question about deployment / java api vs. rest services

2013-05-14 Thread German Parente
Hi Fabio and all, 2) I have to address from my application the RBAC module getting user roles from syncope. Again, what would be the best approach ? Use java api or bare rest request calls ? REST calls are the right way to do this. I am trying to use REST calls to get syncope users and rol

Question about deployment / java api vs. rest services

2013-05-06 Thread German Parente
Hi all, my managers want me to implement the scenario I will describe. I will need some help to know how to address it. I have an application which basically consists in a REST web service. I have been asked to implement rbac feature to users connecting to the web service. The application i

Re: Syncope java api examples.

2013-04-22 Thread German Parente
Hi Francesco, Thanks a lot ! I will take a look at them. Regards, German On 22/04/2013 17:11, German Parente wrote: Hi all, I am new to the product. I am intesting in using the Apache Syncope java api. I am looking to simple examples about creating roles, assigning them to users and

Syncope java api examples.

2013-04-22 Thread German Parente
Hi all, I am new to the product. I am intesting in using the Apache Syncope java api. I am looking to simple examples about creating roles, assigning them to users and retrieving the information of users and roles. I couldn't find that in your site. Could you please send me pointers to som