diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2016-07-11 00:27:56 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2016-07-11 00:36:50 +0200 |
commit | 9aa3748e4c228370e83c5dd7788f420f80b7841a (patch) | |
tree | 3ae8d04cd9c9cb010ca4f4c63e8d9cb62be19730 /org.eclipse.jgit.junit.http/src | |
parent | ca2052a8c1e317927d27efef91b3368f147bf9af (diff) | |
download | jgit-9aa3748e4c228370e83c5dd7788f420f80b7841a.tar.gz jgit-9aa3748e4c228370e83c5dd7788f420f80b7841a.zip |
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 <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.junit.http/src')
-rw-r--r-- | org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java | 8 |
1 files changed, 8 insertions, 0 deletions
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 c36c297623..c8857409cf 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(); |