summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-11-22 12:27:37 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-11-22 12:27:37 +0100
commit68dbbbdb3ada2b3b4fb220986d2a84b93c62b32b (patch)
tree3f17772347128c1c3bfc1040e8567819055741b8 /eaaf_core/src/main/java
parentb73fa138b0e0f634c7c1e621663a87df28be0b02 (diff)
downloadEAAF-Components-68dbbbdb3ada2b3b4fb220986d2a84b93c62b32b.tar.gz
EAAF-Components-68dbbbdb3ada2b3b4fb220986d2a84b93c62b32b.tar.bz2
EAAF-Components-68dbbbdb3ada2b3b4fb220986d2a84b93c62b32b.zip
use UUID for sessionIdentifier
Diffstat (limited to 'eaaf_core/src/main/java')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java
index 3f0c61b8..722a9304 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java
@@ -34,6 +34,7 @@ import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
+import java.util.UUID;
import javax.servlet.http.HttpServletRequest;
@@ -159,7 +160,7 @@ public abstract class RequestImpl implements IRequest, Serializable{
else {
log.debug("Create new sessionIdentifier for this pendingRequest ... ");
- this.uniqueSessionIdentifer = Random.nextLongRandom();
+ this.uniqueSessionIdentifer = UUID.randomUUID().toString();
}