Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] GitServlet Authentication

Hi all, 

I am developing a Git Server using JGit. So I extended org.eclipse.jgit.http.server.GitServlet. I can clone the repository but whenever want to push my local repo back to the server git returns the following error: Authentication failed for 'http://localhost:8080/TestRepo/' 
So how can I implement an authentication mechanism for GitServlet to accept credentials? (both on push and clone/fetch operations).

Thanks.





Back to the top