aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-07-23 14:53:03 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-07-23 14:53:03 +0200
commit02be9260fa6b3c84a9cbd7df2c53c7a4ec9e1dd6 (patch)
treec4caf71b35b2da464e62d01b8674df19c7c08c40 /id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage
parent3d2540b942389be2f2e3f2496f1c2380ee49c4ca (diff)
downloadmoa-id-spss-02be9260fa6b3c84a9cbd7df2c53c7a4ec9e1dd6.tar.gz
moa-id-spss-02be9260fa6b3c84a9cbd7df2c53c7a4ec9e1dd6.tar.bz2
moa-id-spss-02be9260fa6b3c84a9cbd7df2c53c7a4ec9e1dd6.zip
update log messages with loglevel INFO
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AssertionStorage.java7
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AuthenticationSessionStoreage.java8
2 files changed, 7 insertions, 8 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AssertionStorage.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AssertionStorage.java
index 2dbcc912b..704adc80d 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AssertionStorage.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AssertionStorage.java
@@ -75,8 +75,7 @@ public class AssertionStorage {
//store AssertionStore element to Database
try {
MOASessionDBUtils.saveOrUpdate(element);
- Logger.info("Sessioninformation with ID=" + artifact + " is stored in Database");
-
+ Logger.info(assertion.getClass().getName() + " with ID: " + artifact + " is stored in Database");
} catch (MOADatabaseException e) {
Logger.warn("Sessioninformation could not be stored.");
throw new MOADatabaseException(e);
@@ -152,7 +151,7 @@ public class AssertionStorage {
for(AssertionStore result : results) {
try {
cleanDelete(result);
- Logger.info("Remove sessioninformation with ID=" + result.getArtifact()
+ Logger.info("Remove stored information with ID: " + result.getArtifact()
+ " after timeout.");
} catch (HibernateException e){
@@ -169,7 +168,7 @@ public class AssertionStorage {
try {
AssertionStore element = searchInDatabase(artifact);
cleanDelete(element);
- Logger.info("Remove sessioninformation with ID" + artifact);
+ Logger.info("Remove stored information with ID: " + artifact);
} catch (MOADatabaseException e) {
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AuthenticationSessionStoreage.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AuthenticationSessionStoreage.java
index 30b6caef8..4b4b5ddc5 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AuthenticationSessionStoreage.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/AuthenticationSessionStoreage.java
@@ -103,7 +103,7 @@ public class AuthenticationSessionStoreage {
//store AssertionStore element to Database
MOASessionDBUtils.saveOrUpdate(dbsession);
- Logger.info("MOASession with sessionID=" + id + " is stored in Database");
+ Logger.info("Create MOASession with sessionID: " + id);
return session;
@@ -441,10 +441,10 @@ public class AuthenticationSessionStoreage {
tx.commit();
if (SLOInfo != null)
- Logger.debug("Add SSO-Session login information for OA: " + OAUrl
+ Logger.info("Add SSO-Session login information for OA: " + OAUrl
+ " and AssertionID: " + SLOInfo.getSessionIndex());
else
- Logger.debug("Add SSO-Session login information for OA: " + OAUrl);
+ Logger.info("Add SSO-Session login information for OA: " + OAUrl);
}
@@ -831,7 +831,7 @@ public class AuthenticationSessionStoreage {
//store AssertionStore element to Database
try {
MOASessionDBUtils.saveOrUpdate(dbsession);
- Logger.info("MOASession with sessionID=" + id + " is stored in Database");
+ Logger.debug("MOASession with sessionID=" + id + " is stored in Database");
} catch (MOADatabaseException e) {
Logger.warn("MOASession could not be created.");