aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationSessionStore.java
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationSessionStore.java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationSessionStore.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationSessionStore.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationSessionStore.java
index c0bf29844..3096341e0 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationSessionStore.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationSessionStore.java
@@ -4,6 +4,7 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
+import at.gv.egovernment.moa.id.AuthenticationException;
import at.gv.egovernment.moa.id.MOAIDException;
import at.gv.egovernment.moa.id.auth.data.AuthenticationSession;
import at.gv.egovernment.moa.id.util.Random;
@@ -44,13 +45,13 @@ public class AuthenticationSessionStore {
}
public static String changeSessionID(AuthenticationSession session)
- throws MOAIDException {
+ throws AuthenticationException {
synchronized (sessionStore) {
if (sessionStore.containsKey(session.getSessionID())) {
AuthenticationSession theSession = sessionStore.get(session
.getSessionID());
if (theSession != session) {
- throw new MOAIDException("TODO!", null);
+ throw new AuthenticationException("TODO!", null);
}
sessionStore.remove(session.getSessionID());
@@ -60,7 +61,7 @@ public class AuthenticationSessionStore {
return id;
}
}
- throw new MOAIDException("TODO!", null);
+ throw new AuthenticationException("TODO!", null);
}
public static AuthenticationSession getSession(String sessionID) {