Re: OAuth2 Server tapestry implementation

2016-03-23 Thread abangkis
Yes, it was for educational purposes only. Regards On Wed, Mar 23, 2016 at 11:47 PM, Kalle Korhonen wrote: > I don't see a reason to do a plain servlet implementation if it's not for > educational reasons only. JAX-RS or even a Tapestry API would serve you > much better as an Oauth endpoint. >

Re: OAuth2 Server tapestry implementation

2016-03-23 Thread Kalle Korhonen
I don't see a reason to do a plain servlet implementation if it's not for educational reasons only. JAX-RS or even a Tapestry API would serve you much better as an Oauth endpoint. Kalle On Wed, Mar 23, 2016 at 1:13 AM, abangkis wrote: > Thanks Kalle. Yes, I've been following that. Turning the J

Re: OAuth2 Server tapestry implementation

2016-03-23 Thread abangkis
Thanks Kalle. Yes, I've been following that. Turning the Jax-RS sample to a servlet one, before try to migrate it to tapestry. I Guess my knowledge on OAuth2, JAX-RS & Servlet isn't deep enough to quickly do it for now. I'll set aside a few weekends to learn more about it in the future :) On Wed,

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread Kalle Korhonen
Adapting the code from Oltu's integration tests (e.g. see https://github.com/apache/oltu/blob/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/AuthzEndpoint.java), it should be relatively simple to implement Oauth authorization & resource servers as JAX-R

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread abangkis
Hi all, thanks for the response. Yes, it's the server Implementation :) I don't think i would integrate spring social, since I don't use spring. Been tinkering with the servlet implementation of OAuth2, turn out the effort is greater than I previously think (probably because I don't understand OAu

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread abangkis
Hi, thanks alot for the hints. I've been trying to do the steps but with servlet. Since the example mostly in servlet/jax-ws. Maybe I should do it with Tapestry directly. On Tue, Mar 22, 2016 at 8:38 PM, Chung Khanh Duy < chungkhanhduy1...@gmail.com> wrote: > On Tue, Mar 22, 2016 at 6:14 PM, aban

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread Prakash Manjeshwar
My OAuth know-how is very limited. Nevertheless, following links might help... https://gist.github.com/sody/1324553/f4a12ce37f65b96b98c98921ab9caff7d6d5d037 http://docs.spring.io/spring-social/docs/1.0.x/reference/html/implementing.html http://docs.spring.io/spring-social/docs/1.0.x/reference/

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread Thiago H de Paula Figueiredo
On Tue, 22 Mar 2016 12:27:59 -0300, Prakash Manjeshwar wrote: I think, original question was about an OAuth *server implementation *as there was reference to Apache Oltu. Oh, I'm sorry. I read the message too quickly and I didn't notice the "server" part. (facepalm). Thanks for the shou

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread Prakash Manjeshwar
I think, original question was about an OAuth *server implementation *as there was reference to Apache Oltu. Is Tynamo not a client only solution ? --- Prakash On 22 March 2016 at 20:44, Thiago H de Paula Figueiredo wrote: > On Tue, 22 Mar 2016 10:38:15 -0300, Chung Khanh Duy < > chungkhanh

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread Thiago H de Paula Figueiredo
On Tue, 22 Mar 2016 12:14:56 -0300, Thiago H de Paula Figueiredo wrote: On Tue, 22 Mar 2016 10:38:15 -0300, Chung Khanh Duy wrote: On Tue, Mar 22, 2016 at 6:14 PM, abangkis wrote: Hi, is there a Tapestry module for OAuth2 Server available? ==> Hi, my understanding so far there is no

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread Thiago H de Paula Figueiredo
On Tue, 22 Mar 2016 10:38:15 -0300, Chung Khanh Duy wrote: On Tue, Mar 22, 2016 at 6:14 PM, abangkis wrote: Hi, is there a Tapestry module for OAuth2 Server available? ==> Hi, my understanding so far there is no tapestry library for oauth2. I'm sorry, but I think you're wrong. Check

Re: OAuth2 Server tapestry implementation

2016-03-22 Thread Chung Khanh Duy
On Tue, Mar 22, 2016 at 6:14 PM, abangkis wrote: > Hi, is there a Tapestry module for OAuth2 Server available? > ==> Hi, my understanding so far there is no tapestry library for oauth2. You have to integrate spring-tapestry security from tynamo project and integrate spring oauth2. But this is a l