2 Replies Latest reply on Apr 19, 2013 3:43 PM by anil.saldhana

    PicketLink 3.0.0.alpha1 extend User functionality

    arg20

      My User entity has more attributes such as address and middle name, etc. I thought extending SimpleUser would do, but since SimpleUser is not an entity, I'd rather have to extend IdentityObject, to add columns to its database table, say by using a one table inheritance strategy, but how would this work when I try to fetch it or login? I think I won't be able to re use PicketLink's mechanisms. Is this so? It'd be nice if you could set parameters through generics or something to use your own class instead of the User interface.

       

      My question boils down to, is it possible to extend users to have more attributes in a way that doesn't involve creating other cdi controller beans etc? Just using picketlink's.