You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Adam Winer <aw...@google.com> on 2009/03/13 23:48:16 UTC
Re: Sample Implementation of 3-Legged OAuth authentication/authorization
using jsecurity
I've been meaning to get the sample binding out of
SocialApiGuiceModule and over to a SamplesModule. I'm happy to do
that now, before you submit this
BTW, what's the ClassCastException? If it's one of those bizarre
"can't cast Foo to Foo" messages, it might serve to manually delete
the copy of javax.el from the JUEL JAR when deploying to Jetty 6.1.
On Fri, Mar 13, 2009 at 1:53 PM, Paul Lindner <pl...@hi5.com> wrote:
> Hi,
>
> To enable 3-legged OAuth requires authorization and authentication code.
> This is not present in the shindig sample container.
>
> I went ahead and made a rough implementation based on jsecurity (soon to
> become apache ki).
>
> While doing this I also:
> * Upgraded our servlet spec to 2.5, which includes JSP 2.1 etal
> * added jstl-1.2 as a dependency, which requires adding the java.net maven
> repo.
>
> There are some issues:
>
> * Jetty 6.1 has it's own javax.el implementation that clashes with the juel
> lib causing a ClassCastException
>
> Patch is available for review here:
>
> http://codereview.appspot.com/27052
>
> I'd appreciate any comments on this approach and also if this is something
> suitable for shindig in general.
>
>
Re: Sample Implementation of 3-Legged OAuth authentication/authorization
using jsecurity
Posted by Adam Winer <aw...@google.com>.
On Fri, Mar 13, 2009 at 3:53 PM, Paul Lindner <pl...@hi5.com> wrote:
> On Mar 13, 2009, at 3:48 PM, Adam Winer wrote:
>
>> I've been meaning to get the sample binding out of
>> SocialApiGuiceModule and over to a SamplesModule. I'm happy to do
>> that now, before you submit this
>
> That would be great!
Just sent you http://codereview.appspot.com/28051. Let me know what you think.
>
>
>> BTW, what's the ClassCastException? If it's one of those bizarre
>> "can't cast Foo to Foo" messages, it might serve to manually delete
>> the copy of javax.el from the JUEL JAR when deploying to Jetty 6.1.
>
> This seems entirely possible. The next version of juel will be split into
> an el-api jar and juel-impl jar. Hopefully the 2.1.1 release will happen
> soon and it's published to the main maven repo (right now it's only in the
> jboss repo...)
>
>> On Fri, Mar 13, 2009 at 1:53 PM, Paul Lindner <pl...@hi5.com> wrote:
>>>
>>> Hi,
>>>
>>> To enable 3-legged OAuth requires authorization and authentication code.
>>> This is not present in the shindig sample container.
>>>
>>> I went ahead and made a rough implementation based on jsecurity (soon to
>>> become apache ki).
>>>
>>> While doing this I also:
>>> * Upgraded our servlet spec to 2.5, which includes JSP 2.1 etal
>>> * added jstl-1.2 as a dependency, which requires adding the java.net
>>> maven
>>> repo.
>>>
>>> There are some issues:
>>>
>>> * Jetty 6.1 has it's own javax.el implementation that clashes with the
>>> juel
>>> lib causing a ClassCastException
>>>
>>> Patch is available for review here:
>>>
>>> http://codereview.appspot.com/27052
>>>
>>> I'd appreciate any comments on this approach and also if this is
>>> something
>>> suitable for shindig in general.
>>>
>>>
>
>
Re: Sample Implementation of 3-Legged OAuth authentication/authorization using jsecurity
Posted by Paul Lindner <pl...@hi5.com>.
On Mar 13, 2009, at 3:48 PM, Adam Winer wrote:
> I've been meaning to get the sample binding out of
> SocialApiGuiceModule and over to a SamplesModule. I'm happy to do
> that now, before you submit this
That would be great!
> BTW, what's the ClassCastException? If it's one of those bizarre
> "can't cast Foo to Foo" messages, it might serve to manually delete
> the copy of javax.el from the JUEL JAR when deploying to Jetty 6.1.
This seems entirely possible. The next version of juel will be split
into an el-api jar and juel-impl jar. Hopefully the 2.1.1 release
will happen soon and it's published to the main maven repo (right now
it's only in the jboss repo...)
> On Fri, Mar 13, 2009 at 1:53 PM, Paul Lindner <pl...@hi5.com>
> wrote:
>> Hi,
>>
>> To enable 3-legged OAuth requires authorization and authentication
>> code.
>> This is not present in the shindig sample container.
>>
>> I went ahead and made a rough implementation based on jsecurity
>> (soon to
>> become apache ki).
>>
>> While doing this I also:
>> * Upgraded our servlet spec to 2.5, which includes JSP 2.1 etal
>> * added jstl-1.2 as a dependency, which requires adding the
>> java.net maven
>> repo.
>>
>> There are some issues:
>>
>> * Jetty 6.1 has it's own javax.el implementation that clashes with
>> the juel
>> lib causing a ClassCastException
>>
>> Patch is available for review here:
>>
>> http://codereview.appspot.com/27052
>>
>> I'd appreciate any comments on this approach and also if this is
>> something
>> suitable for shindig in general.
>>
>>