Removed codes related to user registration & password management.
Change-Id: I2f2030269c8faa8fa74c6fff354e6638535ffb2d
diff --git a/core/pom.xml b/core/pom.xml
index 47081e0..aff703d 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -279,8 +279,7 @@
<dependency>
<groupId>de.ids_mannheim.korap</groupId>
<artifactId>Krill</artifactId>
- <!-- <version>[0.58.1,)</version> -->
- <version>0.58.3</version>
+ <version>[0.58.3,)</version>
<exclusions>
<exclusion>
<groupId>org.xerial</groupId>
diff --git a/core/src/main/java/de/ids_mannheim/korap/authentication/AuthenticationManager.java b/core/src/main/java/de/ids_mannheim/korap/authentication/AuthenticationManager.java
index a56cc76..e782ea6 100644
--- a/core/src/main/java/de/ids_mannheim/korap/authentication/AuthenticationManager.java
+++ b/core/src/main/java/de/ids_mannheim/korap/authentication/AuthenticationManager.java
@@ -76,9 +76,6 @@
public abstract void lockAccount (User user) throws KustvaktException;
- public abstract User createUserAccount (Map<String, Object> attributes,
- boolean confirmation_required) throws KustvaktException;
-
public abstract boolean deleteAccount (User user) throws KustvaktException;
public abstract <T extends Userdata> T getUserData (User user,
@@ -87,15 +84,6 @@
public abstract void updateUserData (Userdata data)
throws KustvaktException;
- public abstract Object[] validateResetPasswordRequest (String username,
- String email) throws KustvaktException;
-
- public abstract void resetPassword (String uriFragment, String username,
- String newPassphrase) throws KustvaktException;
-
- public abstract void confirmRegistration (String uriFragment,
- String username) throws KustvaktException;
-
public String providerList () {
return "provider list: " + this.providers.toString();
}
diff --git a/core/src/main/java/de/ids_mannheim/korap/user/DataFactory.java b/core/src/main/java/de/ids_mannheim/korap/user/DataFactory.java
index 4b14b42..bb86cb2 100644
--- a/core/src/main/java/de/ids_mannheim/korap/user/DataFactory.java
+++ b/core/src/main/java/de/ids_mannheim/korap/user/DataFactory.java
@@ -1,16 +1,20 @@
package de.ids_mannheim.korap.user;
+import java.io.IOException;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
-import de.ids_mannheim.korap.exceptions.KustvaktException;
-import de.ids_mannheim.korap.exceptions.StatusCodes;
-import de.ids_mannheim.korap.interfaces.ValidatorIface;
-import de.ids_mannheim.korap.interfaces.db.UserDataDbIface;
-import de.ids_mannheim.korap.utils.JsonUtils;
-import java.io.IOException;
-import java.util.*;
+import de.ids_mannheim.korap.exceptions.KustvaktException;
+import de.ids_mannheim.korap.interfaces.ValidatorIface;
+import de.ids_mannheim.korap.utils.JsonUtils;
/**
* @author hanl
@@ -18,8 +22,6 @@
*/
public abstract class DataFactory {
- private static final Map<Class<? extends Userdata>, UserDataDbIface> instances = new HashMap<>();
-
private static DataFactory factory;