recently I set up a Jenkins server with login removed, and I got complains from the higher ups that it is the wrong way of doing things, so I have to add it back.
unfortunately when I check the jenkins config.xml, useSecurity is changed to true yet the application still disable login. So what I did is that I download a separate localhost jenkins to do a file comparison, and low and behold, there are other changes needed to revert back the login.
Please ensure that your Jenkins config.xml has the following setup:
<useSecurity>true</useSecurity> <authorizationStrategy class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy"> <denyAnonymousReadAccess>true</denyAnonymousReadAccess> </authorizationStrategy> <securityRealm class="hudson.security.HudsonPrivateSecurityRealm"> <disableSignup>true</disableSignup> <enableCaptcha>false</enableCaptcha> </securityRealm>