It's all about the answers!

Ask a question

URL redirection during authentication


Andrés Guerrero (20613218) | asked Oct 21 '08, 12:32 p.m.
Hi,

I need to connect to the Jazz server via IP based URL for proxy reasons, so I put the URL:

http://xxx.xxx.xxx.xxx:9080/jazz


Then I get the login page.
I authenticate myself and the authentication process redirects me to:

http://server_name:9080/jazz


so I get :

"The requested URL could not be retrieved" (that is the proxy problem)

I try to configure the advance property:

Public URL root 


to an IP based URL but the server always redirects me to the server_name based URL.

Is there another property to configure that?

Thanks in advance

4 answers



permanent link
Anthony Kesterton (7.5k9180136) | answered Oct 21 '08, 4:56 p.m.
JAZZ DEVELOPER
Hi,

I need to connect to the Jazz server via IP based URL for proxy reasons, so I put the URL:

http://*.*.*.*:9080/jazz


Then I get the login page.
I authenticate myself and the authentication process redirects me to:

http://server_name:9080/jazz


so I get :

"The requested URL could not be retrieved" (that is the proxy problem)

I try to configure the advance property:

Public URL root 


to an IP based URL but the server always redirects me to the server_name based URL.

Is there another property to configure that?

Thanks in advance


I might have misunderstood what you are doing (apologies in advance) but I am surprised you can even get the login screen via http I thought you had to use https.

anthony

permanent link
Andrés Guerrero (20613218) | answered Oct 22 '08, 2:42 a.m.
Yes, I can access the login with http.
I edited the web.xml of jazz webapp:

Original:

<userdataconstraint>
<transportguarantee>CONFIDENTIAL</transportguarantee>
</userdataconstraint>


Modified:

<userdataconstraint>
<transportguarantee>NONE</transportguarantee>
</userdataconstraint>



Any ideas for avoiding redirection to server_name based URL?
Which component do this redirection? Jazz app or Tomcat?

Thanks

permanent link
Craig Chaney (9212) | answered Oct 23 '08, 8:26 a.m.
JAZZ DEVELOPER
Hi,

jaguerrero wrote:
Hi,

I need to connect to the Jazz server via IP based URL for proxy
reasons, so I put the URL:

http://xxx.xxx.xxx.xxx:9080/jazz

That URL is incomplete. Try one of these URLs:
http://xxx.xxx.xxx.xxx:9080/jazz/setup - setup wizard
http://xxx.xxx.xxx.xxx:9080/jazz/admin - Admin UI
http://xxx.xxx.xxx.xxx:9080/jazz/web - normal web UI


Then I get the login page.
I authenticate myself and the authentication process redirects me to:

http://server_name:9080/jazz


so I get :

"The requested URL could not be retrieved" (that is the
proxy problem)

I try to configure the advance property:

Public URL root 


That setting does not affect redirection. You should be ok if you use
one of the URLs from above without changing this setting.

to an IP based URL but the server always redirects me to the
server_name based URL.

Is there another property to configure that?

Thanks in advance

Thanks!
Craig Chaney
Jazz Server team

permanent link
Andrés Guerrero (20613218) | answered Oct 23 '08, 9:15 a.m.
Ok!

That is, the URL was incomplete.

Thank you very much

Best Regards

Andres

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.