aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons/src')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
index 64f543973..730a328ab 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
@@ -74,6 +74,9 @@ public class AuthenticatedSessionStore implements Serializable{
@Column(name = "session", nullable=false)
@Lob private byte [] session;
+ @Column(name = "iv", nullable=true)
+ @Lob private byte [] iv;
+
@Column(name = "isAuthenticated", nullable=false)
private boolean isAuthenticated = false;
@@ -205,5 +208,21 @@ public class AuthenticatedSessionStore implements Serializable{
this.pendingRequestID = pendingRequestID;
}
+ /**
+ * @return the iv
+ */
+ public byte[] getIv() {
+ return iv;
+ }
+
+ /**
+ * @param iv the iv to set
+ */
+ public void setIv(byte[] iv) {
+ this.iv = iv;
+ }
+
+
+
}