Issue create a new group with a typeextenstion

2018-11-05 Thread Ben.H
I am creating a new group in java. Like so: JPAGroup group = new JPAGroup(); group.setName(groupName); group.setRealm(realm); JPATypeExtension extension = new JPATypeExtension(); extension.setGroup(group);

Re: Java Rest Endpoint entityManager problem

2018-10-29 Thread Ben.H
I did create the endpoint, and it all wires up correctly. It even works when I use the methods from the base DAO class (e.g. using the find method with the id as opposed to the findByUsername method). I have been able to work around this problem using the Id. I didn't think it was available to

Java Rest Endpoint entityManager problem

2018-10-23 Thread Ben.H
I'm trying to create a rest endpoint in java. I can hit the endpoint, which has an autowired UserDAO on it, no exception is thrown when the UserDAO is autowired but when I go to do a findByUsername I get an IllegalStateException stating; Could not find EntityManager for domain Master. Should I

Re: External mapping not triggered on Account update

2018-10-11 Thread Ben.H
Sorry. I just realized I never responded to this. This was the fix I was looking for. Thank you for all your help. -- Sent from: http://syncope-user.1051894.n5.nabble.com/

External mapping not triggered on Account update

2018-10-02 Thread Ben.H
Hi again, Same situation. I have my external resource, and it is now populating the external table. However, when I update the user, the connector does not get updated. I'm not sure what triggers the update task on the connectors; I was under the assumption that when an accounts details were

Re: Mapping external resource with ACCOUNT and GROUP data

2018-09-28 Thread Ben.H
That seems to be working perfectly. Thank you very much. This was killing me trying to figure out how to access the memberships. -- Sent from: http://syncope-user.1051894.n5.nabble.com/

Mapping external resource with ACCOUNT and GROUP data

2018-09-26 Thread Ben.H
My setup: I have users who are assigned groups, and the groups have anytime extensions on them so that when I add a group to a user I have to enter the groups extended data for that user. I am trying to persist user data to an external database. I need to store the account/user data in one