[aerogear-dev] [ag-security-plink] Data sources

Summers Pittman supittma at redhat.com
Fri Mar 15 17:01:35 EDT 2013


On 03/15/2013 04:41 PM, Sébastien Blanc wrote:
> What do you want to use instead ?
Ideally a persistence.xml in my project.
> Plink needs a datasource to store users/roles etc ... But there should be a way to use your own datasource ,
There should be.  Think about the poor sap who has two projects using 
ag-sec-plink and them having to share a data source (which is what 
happens now[unless I am missing something])
> maybe you can override it programmatically with cdi ?
-1, That's a lot of boiler plate (and as far as my Googling could show 
me, vendor spefiic boilerplate)
> Take a look maybe to the unit tests of picketlink
Will do, I have a feeling it is going to be Arquillian xml files out the 
wazoo...
>
> Envoyé de mon iPhone
>
> Le Mar 15, 2013 à 21:24, Summers Pittman <supittma at redhat.com> a écrit :
>
>> Is it possible to use the picketlink dependency if I don't have a data
>> source named "java:jboss/datasources/ExampleDS"?
>>
>>   I havn't been able to find anyway of overriding it short of nuking the
>> persistence.xml file in the dependency Google hasn't offered up any good
>> suggestions.
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev



More information about the aerogear-dev mailing list