From 9aa3748e4c228370e83c5dd7788f420f80b7841a Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Mon, 11 Jul 2016 00:27:56 +0200 Subject: [PATCH] Implement new abstract MappedLoginService methods added in Jetty 9.3 Eclipse Neon comes with Jetty 9.3 which is causing unimplemented abstract method errors in test class AppServer when using the JGit or EGit Neon target platform. Fix this by adding dummy implementations. Change-Id: Ie49107d814a846997de95f149e91fe1ec2fbe4d8 Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/junit/http/AppServer.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java index c36c29762..c8857409c 100644 --- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java +++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java @@ -181,6 +181,14 @@ public class AppServer { protected void loadUsers() throws IOException { putUser(username, new Password(password), new String[] { role }); } + + protected String[] loadRoleInfo(KnownUser user) { + return null; + } + + protected KnownUser loadUserInfo(String usrname) { + return null; + } }; ConstraintMapping cm = new ConstraintMapping();