[security-dev] How to map existing JPA entities to picketlink

Patrick Huang pahuang at redhat.com
Wed Jul 8 21:53:03 EDT 2015


Thank you. I have joined and my nick is pahuang. 

The entities I put up there is in its original form. I tried putting on @Attribute and a few other annotations on but sometime I got error during picketlink configuration check on startup, sometimes it passes that but the entity is not being populated.

Patrick Huang
Senior Software Engineer
Engineering - Internationalisation
Red Hat

----- Original Message -----
> From: "Pedro Igor Silva" <psilva at redhat.com>
> To: "Patrick Huang" <pahuang at redhat.com>
> Cc: security-dev at lists.jboss.org
> Sent: Thursday, July 9, 2015 11:44:17 AM
> Subject: Re: [security-dev] How to map existing JPA entities to picketlink
> 
> Hey Patrick,
> 
>    I think you are missing some metadata and minor changes in your entities.
>    Please, join #picketlink so I can better assist you on this one.
> 
>    Depending on the outcome, we can create an article or something about it.
> 
> Regards.
> Pedro Igor
>    
> 
> ----- Original Message -----
> From: "Patrick Huang" <pahuang at redhat.com>
> To: security-dev at lists.jboss.org
> Sent: Wednesday, July 8, 2015 9:39:12 PM
> Subject: [security-dev] How to map existing JPA entities to picketlink
> 
> Hi all,
> 
> I am in the process of migrating a seam 2 application to CDI and use
> PicketLink as the security library. I now understand how PicketLink works
> and I've read the custom IDM model [1]. However since we already have a data
> model in use and I couldn't find any reference on how to map PicketLink to
> use it.
> 
> To make it easier to view and share to public I have posted a question on
> stackoverflow [2]. If anyone is able to help or point me to the right
> direction that will be great. Thanks a lot.
> 
> [1] http://picketlink.org/gettingstarted/custom_idm_model/
> [2]
> http://stackoverflow.com/questions/31306207/how-to-map-existing-jpa-entities-to-picketlink
> 
> Patrick Huang
> Senior Software Engineer
> Engineering - Internationalisation
> Red Hat, Asia-Pacific Pty Ltd
> Level 1, 193 North Quay
> Brisbane 4000
> Office: +61 7 3514 8278
> Fax: +61 7 3514 8199
> IRC: pahuang
> github: github.com/huangp
> Website: www.redhat.com
> 
> 
> _______________________________________________
> security-dev mailing list
> security-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/security-dev
> 


More information about the security-dev mailing list