JENKINS-30749 - make Jenkins secure out of the box:

* create initial admin user with difficult password (based on UUID)
* force login with password as security token
* force initial admin user creation
This commit is contained in:
kzantow committed 2016-03-05 18:51:02 -05:00
1 parent ecf9e3b8b2
commit 5368c96404
39 files changed
+1823 -933

No files matched your search

+1 -1
View File
@@ -1189,7 +1189,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
break;
}
updateCenter.persistInstallStatus();
jenkins.setInstallState(InstallState.INITIAL_PLUGINS_INSTALLED);
jenkins.setInstallState(InstallState.INITIAL_PLUGINS_INSTALLING.getNextState());
InstallUtil.saveLastExecVersion();
}
}.start();