You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by Bruno Oliveira <br...@abstractj.org> on 2012/04/03 04:33:21 UTC

Authentication Module

Hi folks,

Currently I'm working to integrate DS into our project to provide
authentication and authorization to REST resources (
https://github.com/abstractj/aerogear-security/blob/deltaspike/README.md).
I was digging into the latest Lincoln's commits (
https://issues.apache.org/jira/browse/DELTASPIKE-126) which aims to provide
one of our needs actually, authentication.

So I started some code migration (
https://github.com/abstractj/aerogear-security/tree/deltaspike) and tests
from picketbox to DS and I currently facing with some issues
https://gist.github.com/297f30b6d15c36f74727

Does anyone have some hint about it? The error looks sounds really clear
"No org.apache.deltaspike.core.api.provider.BeanManagerProvider in place!
Please ensure that you configured the CDI implementation of your choice
properly. If your setup is correct, please clear all caches and compiled
artifacts", but currently we still don't have any BeanManagerProviders
implemented like solder has.

- Bruno

-- 

-- 
"Know the rules well, so you can break them effectively" - Dalai Lama XIV
-
@abstractj
-
Volenti Nihil Difficile

Re: Authentication Module

Posted by Bruno Oliveira <br...@abstractj.org>.
Jason and Gerhard helped me with this.

Thanks a lot.

On Fri, Apr 6, 2012 at 11:39 AM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> hi jason,
>
> yes - you found it - the extensions config-file wasn't included in the
> test.
>
> regards,
> gerhard
>
>
>
> 2012/4/6 Jason Porter <li...@gmail.com>
>
> > Didn't we fix this?
> >
> > Sent from my iPhone
> >
> > On Apr 6, 2012, at 8:20, "Lincoln Baxter, III" <li...@gmail.com>
> > wrote:
> >
> > > Hey Bruno.
> > >
> > > It looks like you have potentially configured DeltaSpike incorrectly.
> I'm
> > > not exactly sure how to fix this, though, but it looks to be something
> > > simple - DS cannot find the CDI BeanManager in any of its lookups.
> > >
> > > Which container are you running on? AS7? A servlet container?
> > >
> > > ~Lincoln
> > >
> > > On Mon, Apr 2, 2012 at 10:33 PM, Bruno Oliveira <br...@abstractj.org>
> > wrote:
> > >
> > >> Hi folks,
> > >>
> > >> Currently I'm working to integrate DS into our project to provide
> > >> authentication and authorization to REST resources (
> > >>
> > https://github.com/abstractj/aerogear-security/blob/deltaspike/README.md
> ).
> > >> I was digging into the latest Lincoln's commits (
> > >> https://issues.apache.org/jira/browse/DELTASPIKE-126) which aims to
> > >> provide
> > >> one of our needs actually, authentication.
> > >>
> > >> So I started some code migration (
> > >> https://github.com/abstractj/aerogear-security/tree/deltaspike) and
> > tests
> > >> from picketbox to DS and I currently facing with some issues
> > >> https://gist.github.com/297f30b6d15c36f74727
> > >>
> > >> Does anyone have some hint about it? The error looks sounds really
> clear
> > >> "No org.apache.deltaspike.core.api.provider.BeanManagerProvider in
> > place!
> > >> Please ensure that you configured the CDI implementation of your
> choice
> > >> properly. If your setup is correct, please clear all caches and
> compiled
> > >> artifacts", but currently we still don't have any BeanManagerProviders
> > >> implemented like solder has.
> > >>
> > >> - Bruno
> > >>
> > >> --
> > >>
> > >> --
> > >> "Know the rules well, so you can break them effectively" - Dalai Lama
> > XIV
> > >> -
> > >> @abstractj
> > >> -
> > >> Volenti Nihil Difficile
> > >>
> > >
> > >
> > >
> > > --
> > > Lincoln Baxter, III
> > > http://ocpsoft.org
> > > "Simpler is better."
> >
>



-- 

-- 
"Know the rules well, so you can break them effectively" - Dalai Lama XIV
-
@abstractj
-
Volenti Nihil Difficile

Re: Authentication Module

Posted by Gerhard Petracek <ge...@gmail.com>.
hi jason,

yes - you found it - the extensions config-file wasn't included in the test.

regards,
gerhard



2012/4/6 Jason Porter <li...@gmail.com>

> Didn't we fix this?
>
> Sent from my iPhone
>
> On Apr 6, 2012, at 8:20, "Lincoln Baxter, III" <li...@gmail.com>
> wrote:
>
> > Hey Bruno.
> >
> > It looks like you have potentially configured DeltaSpike incorrectly. I'm
> > not exactly sure how to fix this, though, but it looks to be something
> > simple - DS cannot find the CDI BeanManager in any of its lookups.
> >
> > Which container are you running on? AS7? A servlet container?
> >
> > ~Lincoln
> >
> > On Mon, Apr 2, 2012 at 10:33 PM, Bruno Oliveira <br...@abstractj.org>
> wrote:
> >
> >> Hi folks,
> >>
> >> Currently I'm working to integrate DS into our project to provide
> >> authentication and authorization to REST resources (
> >>
> https://github.com/abstractj/aerogear-security/blob/deltaspike/README.md).
> >> I was digging into the latest Lincoln's commits (
> >> https://issues.apache.org/jira/browse/DELTASPIKE-126) which aims to
> >> provide
> >> one of our needs actually, authentication.
> >>
> >> So I started some code migration (
> >> https://github.com/abstractj/aerogear-security/tree/deltaspike) and
> tests
> >> from picketbox to DS and I currently facing with some issues
> >> https://gist.github.com/297f30b6d15c36f74727
> >>
> >> Does anyone have some hint about it? The error looks sounds really clear
> >> "No org.apache.deltaspike.core.api.provider.BeanManagerProvider in
> place!
> >> Please ensure that you configured the CDI implementation of your choice
> >> properly. If your setup is correct, please clear all caches and compiled
> >> artifacts", but currently we still don't have any BeanManagerProviders
> >> implemented like solder has.
> >>
> >> - Bruno
> >>
> >> --
> >>
> >> --
> >> "Know the rules well, so you can break them effectively" - Dalai Lama
> XIV
> >> -
> >> @abstractj
> >> -
> >> Volenti Nihil Difficile
> >>
> >
> >
> >
> > --
> > Lincoln Baxter, III
> > http://ocpsoft.org
> > "Simpler is better."
>

Re: Authentication Module

Posted by Jason Porter <li...@gmail.com>.
Didn't we fix this?

Sent from my iPhone

On Apr 6, 2012, at 8:20, "Lincoln Baxter, III" <li...@gmail.com> wrote:

> Hey Bruno.
> 
> It looks like you have potentially configured DeltaSpike incorrectly. I'm
> not exactly sure how to fix this, though, but it looks to be something
> simple - DS cannot find the CDI BeanManager in any of its lookups.
> 
> Which container are you running on? AS7? A servlet container?
> 
> ~Lincoln
> 
> On Mon, Apr 2, 2012 at 10:33 PM, Bruno Oliveira <br...@abstractj.org> wrote:
> 
>> Hi folks,
>> 
>> Currently I'm working to integrate DS into our project to provide
>> authentication and authorization to REST resources (
>> https://github.com/abstractj/aerogear-security/blob/deltaspike/README.md).
>> I was digging into the latest Lincoln's commits (
>> https://issues.apache.org/jira/browse/DELTASPIKE-126) which aims to
>> provide
>> one of our needs actually, authentication.
>> 
>> So I started some code migration (
>> https://github.com/abstractj/aerogear-security/tree/deltaspike) and tests
>> from picketbox to DS and I currently facing with some issues
>> https://gist.github.com/297f30b6d15c36f74727
>> 
>> Does anyone have some hint about it? The error looks sounds really clear
>> "No org.apache.deltaspike.core.api.provider.BeanManagerProvider in place!
>> Please ensure that you configured the CDI implementation of your choice
>> properly. If your setup is correct, please clear all caches and compiled
>> artifacts", but currently we still don't have any BeanManagerProviders
>> implemented like solder has.
>> 
>> - Bruno
>> 
>> --
>> 
>> --
>> "Know the rules well, so you can break them effectively" - Dalai Lama XIV
>> -
>> @abstractj
>> -
>> Volenti Nihil Difficile
>> 
> 
> 
> 
> -- 
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."

Re: Authentication Module

Posted by "Lincoln Baxter, III" <li...@gmail.com>.
Hey Bruno.

It looks like you have potentially configured DeltaSpike incorrectly. I'm
not exactly sure how to fix this, though, but it looks to be something
simple - DS cannot find the CDI BeanManager in any of its lookups.

Which container are you running on? AS7? A servlet container?

~Lincoln

On Mon, Apr 2, 2012 at 10:33 PM, Bruno Oliveira <br...@abstractj.org> wrote:

> Hi folks,
>
> Currently I'm working to integrate DS into our project to provide
> authentication and authorization to REST resources (
> https://github.com/abstractj/aerogear-security/blob/deltaspike/README.md).
> I was digging into the latest Lincoln's commits (
> https://issues.apache.org/jira/browse/DELTASPIKE-126) which aims to
> provide
> one of our needs actually, authentication.
>
> So I started some code migration (
> https://github.com/abstractj/aerogear-security/tree/deltaspike) and tests
> from picketbox to DS and I currently facing with some issues
> https://gist.github.com/297f30b6d15c36f74727
>
> Does anyone have some hint about it? The error looks sounds really clear
> "No org.apache.deltaspike.core.api.provider.BeanManagerProvider in place!
> Please ensure that you configured the CDI implementation of your choice
> properly. If your setup is correct, please clear all caches and compiled
> artifacts", but currently we still don't have any BeanManagerProviders
> implemented like solder has.
>
> - Bruno
>
> --
>
> --
> "Know the rules well, so you can break them effectively" - Dalai Lama XIV
> -
> @abstractj
> -
> Volenti Nihil Difficile
>



-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."