Package com.gitblit.manager

Examples of com.gitblit.manager.AuthenticationManager


      XssFilter xssFilter = new AllowXssFilter();
      RuntimeManager runtime = new RuntimeManager(settings, xssFilter, GitBlitSuite.BASEFOLDER).start();
      UserManager users = new UserManager(runtime, null).start();
      HtpasswdAuthProvider htpasswd = new HtpasswdAuthProvider();
      htpasswd.setup(runtime, users);
      AuthenticationManager auth = new AuthenticationManager(runtime, users);
      auth.addAuthenticationProvider(htpasswd);
      return auth;
    }
View Full Code Here


  }

  private AuthenticationManager newAuthenticationManager(IStoredSettings settings) {
    XssFilter xssFilter = new AllowXssFilter();
    RuntimeManager runtime = new RuntimeManager(settings, xssFilter, GitBlitSuite.BASEFOLDER).start();
    AuthenticationManager auth = new AuthenticationManager(runtime, userManager);
    auth.addAuthenticationProvider(newLdapAuthentication(settings));
    return auth;
  }
View Full Code Here

TOP

Related Classes of com.gitblit.manager.AuthenticationManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.