1 Reply Latest reply on Sep 20, 2015 7:19 PM by tbergelt

    Custom identity model inserts duplicate relationship identity type entity records

    tbergelt

      I have implemented a custom identity model for my application based on the existing quickstart. I am using a JPA store with PostgreSQL 9.4 and Hibernate 4.2. I am able to create the necessary entities (Roles, Groups, Users) and authentication works, but when I grant a role to a user or add a user to a group, duplicate records are created within the relationship_identity_type_entity table.

       

      I found another user who had this problem a couple months ago and am awaiting a response from him. Has anyone else out there encountered this problem before?

       

      Any tips on where I should like. I am considering getting the source code and debugging myself, but was hoping to find a simple solution before going to this next step.

       

      Thanks,

      Tim