In Jenkins, it is very important to make the system secure by setting user authentication and authorization. To do this we have to do the following:
- First, we have to set up the Security Realm. We can integrate Jenkins with the LDAP server to create user authentication.
- The second part is to set the authorization for users. This determines which user has access to what resources.
In Jenkins some of the options to set up security are as follows:
- We can use Jenkins’ own user Database.
- We can use the LDAP plugin to integrate Jenkins with the LDAP server.
- We can also set up Matrix-based security on Jenkins.