I want to access Jenkins using basic authentication. I have started the Jenkins as mentioned in Quick and Simple Security page 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:
curl -X GET --user user:password --insecure https:///localhost:9000/job/my_test_job/config.xml
(using same credentials that which used in the server start up as in 1), it wan't authorized and I can see following log in the Kenkins:
While serving
https://localhost:9000/job/my_test_job/config.xml: hudson.security.AccessDeniedException2: anonymous is missing the Job/ExtendedRead permission.
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