How does Jenkins authenticate and authorise users?
IntermediateConceptJenkins
Answer
Authentication uses a security realm: Jenkins' own user database, LDAP/Active Directory, or SSO via SAML/OIDC plugins. Authorisation uses an authorization strategy: "Logged-in users can do anything" (avoid), Matrix-based security, Project-based Matrix, or Role-Based Strategy plugin. In production we use SSO plus role-based access, with admin limited to a small group, and folder-level permissions per team.
More on Jenkins
What is Jenkins and how is its architecture organised?BeginnerWhat are executors, nodes and labels in Jenkins?IntermediateWhy should you not run builds on the Jenkins controller?BeginnerHow do inbound (JNLP/WebSocket) and SSH agents connect to the controller?IntermediateWhat is a Jenkinsfile and where does it live?BeginnerDeclarative versus Scripted Pipeline: what are the differences?Intermediate