[aerogear-dev] [ag-security-plink] Data sources
Bruno Oliveira
bruno at abstractj.org
Mon Mar 18 10:47:07 EDT 2013
Yup. Yup. Already tested on the same environment you've been running, Glassfish (I won't tell anyone) and got your issue ;)
We have 2 alternatives:
- Remove PU configuration for PicketLink on AG Security and also the Producer (https://github.com/abstractj/aerogear-security-picketlink/commit/a336c30abfd86014095fdff7de8397ed3e7aa398) - easy
- Developer something hack on AG Sec to check if a datasource was already provided - tricky
Thoughts?
--
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile
On Monday, March 18, 2013 at 11:33 AM, Summers Pittman wrote:
> On 03/18/2013 07:57 AM, Bruno Oliveira wrote:
> > Hi Summers, probably this is your issue https://issues.jboss.org/browse/AEROGEAR-1025 correct?
> >
> > Let me know if it was correctly described, I'll look at this.
> Not running on non JBoss environments is one part. The other part is
> that I can't define my own data source and the current DS name is kinda
> generic.
> >
> >
> > --
> > "The measure of a man is what he does with power" - Plato
> > -
> > @abstractj
> > -
> > Volenti Nihil Difficile
> >
> >
> >
> > On Friday, March 15, 2013 at 6:01 PM, Summers Pittman wrote:
> >
> > > 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 (mailto: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 (mailto:aerogear-dev at lists.jboss.org)
> > > > > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > aerogear-dev mailing list
> > > > aerogear-dev at lists.jboss.org (mailto:aerogear-dev at lists.jboss.org)
> > > > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > aerogear-dev mailing list
> > > aerogear-dev at lists.jboss.org (mailto:aerogear-dev at lists.jboss.org)
> > > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> >
> >
> >
> >
> >
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org (mailto:aerogear-dev at lists.jboss.org)
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org (mailto:aerogear-dev at lists.jboss.org)
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
More information about the aerogear-dev
mailing list