From 25de471cd8bf27d0cfa084edd29018596c804861 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 15 Apr 2014 11:40:02 +0200 Subject: store additional information for Single LogOut in database --- .../id/commons/db/dao/session/OASessionStore.java | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'id/server/moa-id-commons/src/main') diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/OASessionStore.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/OASessionStore.java index 6d1b64262..25b48310e 100644 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/OASessionStore.java +++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/OASessionStore.java @@ -56,6 +56,12 @@ public class OASessionStore implements Serializable{ @Column(name = "assertionSessionID", unique=false, nullable=true) private String assertionSessionID; + @Column(name = "userNameID", unique=false, nullable=true) + private String userNameID; + + @Column(name = "protocolType", unique=false, nullable=true) + private String protocolType; + @Column(name = "created", updatable=false, nullable=false) // @Temporal(TemporalType.TIMESTAMP) private Date created; @@ -115,6 +121,34 @@ public class OASessionStore implements Serializable{ this.assertionSessionID = assertionSessionID; } + /** + * @return the userNameID + */ + public String getUserNameID() { + return userNameID; + } + + /** + * @param userNameID the userNameID to set + */ + public void setUserNameID(String userNameID) { + this.userNameID = userNameID; + } + + /** + * @return the protocolType + */ + public String getProtocolType() { + return protocolType; + } + + /** + * @param protocolType the protocolType to set + */ + public void setProtocolType(String protocolType) { + this.protocolType = protocolType; + } + } -- cgit v1.2.3