summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-02-24 19:26:19 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2017-03-08 19:11:03 -0400
commit5094c1a5c853fa04282cfc928f8bd8e0331ca600 (patch)
tree06d262db39aa3e019e2239fd54bd4afecfd4b77d /org.eclipse.jgit.pgm/src
parent993f2b3473a4d47331763bdc187dc5391267af3c (diff)
downloadjgit-5094c1a5c853fa04282cfc928f8bd8e0331ca600.tar.gz
jgit-5094c1a5c853fa04282cfc928f8bd8e0331ca600.zip
LfsProtocolServlet: Pass HTTP Authorization header to getLargeFileRepository
This allows implementations to reject operations that do not include proper authentication. Change-Id: If301476d8fb56a0899e424be3789c7576097d185 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/src')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java
index 6817325c54..5839f3395b 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java
@@ -255,7 +255,7 @@ class LfsStore extends TextBuiltin {
@Override
protected LargeFileRepository getLargeFileRepository(
- LfsRequest request, String path) {
+ LfsRequest request, String path, String auth) {
return repository;
}
};