RedmineAuthProvider newRedmineAuthentication() {
return newRedmineAuthentication(getSettings());
}
AuthenticationManager newAuthenticationManager() {
RuntimeManager runtime = new RuntimeManager(getSettings(), GitBlitSuite.BASEFOLDER).start();
UserManager users = new UserManager(runtime).start();
RedmineAuthProvider redmine = new RedmineAuthProvider();
redmine.setup(runtime, users);
redmine.setTestingCurrentUserAsJson(JSON);
AuthenticationManager auth = new AuthenticationManager(runtime, users);