Complete the code to enable LDAP authentication in Jenkins configuration.
securityRealm = new [1]SecurityRealm("ldap://ldap.example.com")
Jenkins uses LdapSecurityRealm to configure LDAP authentication.
Complete the code to set the LDAP server URL in Jenkins.
securityRealm.setServer("[1]")
The LDAP URL must start with ldap:// to specify the LDAP protocol.
Fix the error in the SAML authentication configuration snippet.
securityRealm = new [1]SecurityRealm()For SAML authentication, Jenkins uses SamlSecurityRealm.
Fill both blanks to configure SAML IdP URL and Jenkins root URL.
securityRealm.setIdpMetadata([1]) jenkinsLocationConfiguration.setUrl([2])
The IdP metadata URL must be HTTPS and point to the IdP metadata file. Jenkins root URL should be HTTPS and point to Jenkins server.
Fill all three blanks to create a Jenkins LDAP security realm with root DN and user search base.
securityRealm = new LdapSecurityRealm("[1]", "[2]", "[3]", null, null, false, null, null)
The first argument is the LDAP server URL, the second is the root DN, and the third is the user search base.