I already did what you tell me Mark, I think I will have to use OAuth
authentication.
2011/1/21 Mark :
> It seems unlikely that this is a Tapestry issue. Best I can tell you
> are saying that when you run your unit tests you can connect, but
> when you try to do it from withint a Tapestry (Page?
> Have you considered talking to OpenStreetMap support?
I did
> You said: "When I wrote the unit tests I didn't need to use credentials"
>
> Do you mean your unit tests don't need to pass username/password but
> you do in Tapestry? That sounds fishy.
Yes, but I also said that I included a header
It seems unlikely that this is a Tapestry issue. Best I can tell you
are saying that when you run your unit tests you can connect, but
when you try to do it from withint a Tapestry (Page?) it gives you an
error.
As a test, I'd suggest that you copy the code from the unit test and
stick it in a T
> I can't believe that nobody knows the solution or even a hint for this
> issue...
I don't believe you are running into a problem with Tapestry. I'm
suggesting a proxy for debugging your http communication with the
server, that is a pretty strong hint at how to track down your
problem. You are pr
Thank you for your response Werner, OpenStreetMap implements OAuth 1.0 so far.
When you go to your user profile settings and click on OAuth settings
it prompts you to register your application filling a form that
requires the Name of the app, main URL, callback URL and support URL.
I haven't trie
Have you considered OpenId or OAuth for authentication, or are those not
supported by OpenStreetMap so far?
On Fri, Jan 21, 2011 at 3:44 PM, AlbertoAlmagro wrote:
>
> I can't believe that nobody knows the solution or even a hint for this
> issue...
>
> Any help please?
>
> Thank you so much...
>
I can't believe that nobody knows the solution or even a hint for this
issue...
Any help please?
Thank you so much...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Http-Basic-authentication-with-Tapestry-tp3348700p3351113.html
Sent from the Tapestry - User mailing list
The thing that doesn't make sense for me is that it works for my unit
tests (in which I don't use tapestry) and it doesn't work with the web
interface (which uses tapestry)... Could you, or someone else, explain
me what I improve if I use a proxy or how to use valid credentials?
When I wrote the un
> I'm developing an application that needs to connect to OpenStreetMap API
> with Http basic authentication.
It doesn't seem to make sense that Tapestry would have anything to do with this.
You are getting a 401 Unauthorized error, are you sure you are
providing valid credentials outside of your