title: How to access Jenkins using basic authentication
body: <p>I want to access Jenkins using basic authentication. I have started the Jenkins as mentioned in <a href="https://wiki.jenkins-ci.org/display/JENKINS/Quick+and+Simple+Security" rel="nofollow noreferrer">Quick and Simple Security page</a> with user name "user" and password as "password" and choosing Delegate to servlet container 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:</p>
  
  <blockquote>
    <p><code>curl -X GET --user user:password --insecure https:///localhost:9000/job/my_test_job/config.xml</code></p>
  </blockquote>
  
  <p>(using same credentials that which used in the server start up as in <a href="https://wiki.jenkins-ci.org/display/JENKINS/Quick+and+Simple+Security" rel="nofollow noreferrer">1</a>), it wan't authorized and I can see following log in the Kenkins:</p>
  
  <blockquote>
    <p>While serving <code>https://localhost:9000/job/my_test_job/config.xml</code>: 
    hudson.security.AccessDeniedException2: anonymous is missing the Job/ExtendedRead permission.</p>
  </blockquote>
  
  <p>What am I missing here? How can I configure jenkins to access using simple basic authentication? Appreciate your help.. </p>
  
  <p>Note: I have enabled https and and changed the port to 9000 and my jenkins version is 1.609</p>