AW: Adding HTTP header settings if link is klicked

2013-06-24 Thread Stefan Lindner
Yes! But then you have access to exactly tot he on wiki page that's in your 
url. Following on any other link in the wiki page leads tot he login page. 
Roumors say that this'nt the case when the requrst contains X-Redmine-API-Key 
in header.
But we found another solution by performing a secrt login with a hidden form.
Thank you all for answering.

Stefan

-Ursprüngliche Nachricht-
Von: Joachim Schrod [mailto:jsch...@acm.org] 
Gesendet: Montag, 24. Juni 2013 19:33
An: users@wicket.apache.org
Betreff: Re: Adding HTTP header settings if link is klicked

Stefan Lindner wrote:
> I need to place a link to an external url in my wicket page. The 
> external site requires some special http header parameters (e.g.
> X-Redmine-API-Key) for authentication.

Doesn't the external URL support Redmine's standard parameter "key"
instead of the HTTP request header, too?

Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod, Roedermark, Germany
Email: jsch...@acm.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Adding HTTP header settings if link is klicked

2013-06-24 Thread Joachim Schrod
Stefan Lindner wrote:
> I need to place a link to an external url in my wicket page. The
> external site requires some special http header parameters (e.g.
> X-Redmine-API-Key) for authentication.

Doesn't the external URL support Redmine's standard parameter "key"
instead of the HTTP request header, too?

Joachim

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod, Roedermark, Germany
Email: jsch...@acm.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Adding HTTP header settings if link is klicked

2013-06-24 Thread Martin Grigorov
Hi,

As far as I know this is not possible. The request is made by the browser
and you have no control on it.
You can set headers on Ajax requests but in your case you need to do cross
origin requests and this requires some additional work.
Google 'CORS'.


On Mon, Jun 24, 2013 at 3:12 PM, Stefan Lindner  wrote:

> I need to place a link to an external url in my wicket page. The
> external site requires some special http header parameters (e.g.
> X-Redmine-API-Key) for authentication.
>
>
>
> It it possible to modify the outgoing request an add the header
> parameter?
>
>
>
> Thank you
>
> Stefan
>
>


Adding HTTP header settings if link is klicked

2013-06-24 Thread Stefan Lindner
I need to place a link to an external url in my wicket page. The
external site requires some special http header parameters (e.g.
X-Redmine-API-Key) for authentication.

 

It it possible to modify the outgoing request an add the header
parameter?

 

Thank you

Stefan