Skip to main content Skip to complementary content

Reduce the number of unauthenticated calls to your Git server

When using the Git HTTP protocol, you can force the use of username/password authentication for all pull, push, fetch, and ls-remote operations.

Procedure

  1. Stop your Tomcat server.
  2. Open the following file to edit it:
    <tomcat_path>/WEB-INF/classes/configuration.properties
  3. Add the following line:
    git.conf.http.onlyUsernamePasswordAuth=true
  4. Restart your Apache Tomcat server.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!