aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java7
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java141
2 files changed, 145 insertions, 3 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
index 038dcb6cf..058ad3ad0 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
@@ -82,7 +82,12 @@ public class ConfigurationDBRead {
Logger.trace("No entries found.");
return null;
}
-
+
+ if (result.size() > 1) {
+ Logger.warn("OAIdentifier match to more then one DB-entry!");
+ return null;
+ }
+
return (OnlineApplication) result.get(0);
}
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java
index 7639fd29e..b725544f8 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java
@@ -35,12 +35,24 @@ public class StatisticLog implements Serializable{
@Column(name = "timestamp", nullable=false)
Date timestamp;
+ @Column(name = "OAID", unique=false)
+ private long oaID;
+
@Column(name = "OAURLPrefix", unique=false)
private String oaurlprefix;
+ @Column(name = "OAFriendlyName", unique=false)
+ private String oafriendlyName;
+
+ @Column(name = "OATarget", unique=false)
+ private String oatarget;
+
@Column(name = "BKUURL", unique=false)
private String bkuurl;
+ @Column(name = "BKUType", unique=false)
+ private String bkutype;
+
@Column(name = "isSSOLogin", unique=false)
private boolean ssosession;
@@ -53,15 +65,27 @@ public class StatisticLog implements Serializable{
@Column(name = "MandateType", unique=false)
private String mandatetype;
- @Column(name = "ProtocolSubType", unique=false)
- private String protocolsubtype;
+ @Column(name = "MandatorType", unique=false)
+ private String mandatortype;
+
+ @Column(name = "isPV", unique=false)
+ private boolean pv;
+
+ @Column(name = "PVOID", unique=false)
+ private String pvOID;
@Column(name = "ProtocolType", unique=false)
private String protocoltype;
+ @Column(name = "ProtocolSubType", unique=false)
+ private String protocolsubtype;
+
@Column(name = "ExceptionCode", unique=false)
private String errorcode;
+ @Column(name = "ExceptionType", unique=false)
+ private String errortype;
+
@Column(name = "ExceptionMessage", unique=false)
private String errormessage;
@@ -232,6 +256,119 @@ public class StatisticLog implements Serializable{
public void setBusinessservice(boolean businessservice) {
this.businessservice = businessservice;
}
+
+ /**
+ * @return the oaID
+ */
+ public long getOaID() {
+ return oaID;
+ }
+
+ /**
+ * @param oaID the oaID to set
+ */
+ public void setOaID(long oaID) {
+ this.oaID = oaID;
+ }
+
+ /**
+ * @return the oafriendlyName
+ */
+ public String getOafriendlyName() {
+ return oafriendlyName;
+ }
+
+ /**
+ * @param oafriendlyName the oafriendlyName to set
+ */
+ public void setOafriendlyName(String oafriendlyName) {
+ this.oafriendlyName = oafriendlyName;
+ }
+
+ /**
+ * @return the oatarget
+ */
+ public String getOatarget() {
+ return oatarget;
+ }
+
+ /**
+ * @param oatarget the oatarget to set
+ */
+ public void setOatarget(String oatarget) {
+ this.oatarget = oatarget;
+ }
+
+ /**
+ * @return the bkutype
+ */
+ public String getBkutype() {
+ return bkutype;
+ }
+
+ /**
+ * @param bkutype the bkutype to set
+ */
+ public void setBkutype(String bkutype) {
+ this.bkutype = bkutype;
+ }
+
+ /**
+ * @return the mandatortype
+ */
+ public String getMandatortype() {
+ return mandatortype;
+ }
+
+ /**
+ * @param mandatortype the mandatortype to set
+ */
+ public void setMandatortype(String mandatortype) {
+ this.mandatortype = mandatortype;
+ }
+
+ /**
+ * @return the pv
+ */
+ public boolean isPv() {
+ return pv;
+ }
+
+ /**
+ * @param pv the pv to set
+ */
+ public void setPv(boolean pv) {
+ this.pv = pv;
+ }
+
+ /**
+ * @return the pvOID
+ */
+ public String getPvOID() {
+ return pvOID;
+ }
+
+ /**
+ * @param pvOID the pvOID to set
+ */
+ public void setPvOID(String pvOID) {
+ this.pvOID = pvOID;
+ }
+
+ /**
+ * @return the errortype
+ */
+ public String getErrortype() {
+ return errortype;
+ }
+
+ /**
+ * @param errortype the errortype to set
+ */
+ public void setErrortype(String errortype) {
+ this.errortype = errortype;
+ }
+