You should be able to do this.  Are you seeing a specific error?  How 
are you forming your HTTP requests?

On 5/7/2013 11:07 AM, Max Moore wrote:
> Guys,
>
> I'm playing with Resteasy and OAuth2. I successfully deployed the
> examples posted on GitHub but I have a problem that have to be solved asap:
>
> My Auth-Server is both my auth server and my data server therefore, I'm
> defining (from the example) "auth-method: FORM" but later when I already
> have the token, I can't use the "Authentication" header with Bearer
> token with the same server sin BASIC is not active.
>
> My question is: can I enable my auth-server to be both FORM and BASIC?
> FORM is for the very first time when you authenticate a user and BASIC
> for Bearer tokens when third party already have one.
>
> Can someone give me a hand on this? Thank you so much!
> Cheers!
> Max
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>
>
>
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to