When you get "* anonymous is missing the Job/ExtendedRead permission*", did 
you give read permission to Anonymous as mentioned in the below step in the 
link given by you?( 
https://wiki.jenkins-ci.org/display/JENKINS/Quick+and+Simple+Security 
<https://www.google.com/url?q=https%3A%2F%2Fwiki.jenkins-ci.org%2Fdisplay%2FJENKINS%2FQuick%2Band%2BSimple%2BSecurity&sa=D&sntz=1&usg=AFQjCNHoqvJ41qjHukXUH8_adq7lSp3HQg>
)

*Anonymous read access required*
The preceding instructions require that anonymous users have read access to 
Jenkins. If you disable overall read access for anonymous users, the Build 
Token Root Plugin 
<https://wiki.jenkins-ci.org/display/JENKINS/Build+Token+Root+Plugin> 
allows use of tokens.

Thanks

On Sunday, May 17, 2015 at 10:18:31 AM UTC+5:30, Samith Dassanayake wrote:
>
> 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 
> <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/163961d4-ef4a-4aa9-b0e1-ce5acf5540a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to