Issue Type: Bug Bug
Affects Versions: current
Assignee: Kohsuke Kawaguchi
Components: cli, core, openid
Created: 05/Jul/13 1:50 PM
Description:

layout.jelly exposes a number of HTTP headers that the cli client uses:
X-Hudson-CLI-Port
X-Jenkins-CLI-Port
X-Jenkins-CLI2-Port
X-Jenkins-CLI-Host

Because HudsonAuthenticationEntryPoint doesn't use that layout when it serves a 403, the necessary HTTP headers are missing. If the redirection is external (as is the case with the openid plugin), it breaks CLI support completely.

I've implemented a potential fix here:
https://github.com/jenkinsci/jenkins/pull/836

Environment: Jenkins 1.520
java.version 1.6.0_37
os.arch x86_64
os.name Mac OS X
os.version 10.7.5

Plugins:
openid 1.6
Project: Jenkins
Labels: jenkins plugin cli
Priority: Major Major
Reporter: Luke Petre
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to