Hi all,
I want to access jenkins using basic authentication. I have started the 
jenkins as mentioned in [1] with user name "user" and password as 
"password" and choosing *Delegate to servlet containe*r for security realm 
and *Legacy mode* for authorization strategy. 
But when I try to access job configuration of a job(my_test_job) using curl 
command as in [2](using same credentials that which used in the server 
start up as in [1]), it wan't authorize and I can see following log [3] in 
the jenkins.
What am I missing here? How can I configure jenkins to access using 
simple basic authentication? Appreciate your help.. 

Note: I have enabled https and and changed the port to 9000 and my jenkins 
version is 1.609

[1] https://wiki.jenkins-ci.org/display/JENKINS/Quick+and+Simple+Security
[2] *curl -X GET  --user user:password --insecure 
https:///localhost:9000/job/my_test_job/config.xml*
[3] *"While serving https://localhost:9000/job/my_test_job/config.xml: 
hudson.security.AccessDeniedException2: anonymous is missing the 
Job/ExtendedRead permission."*

Regards,
Samith

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/d724190b-48d8-43d6-95e3-b8593a51066a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to