summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-11-06 11:17:30 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-11-06 11:17:30 +0100
commit69132ec5bc165395458e49c421d0f38925d16ec5 (patch)
treef0a413cb69378472ab4bb9b2888e611135f87c08 /eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java
parent1c19ec91df9f0cd6a010d16c9190c5d16ec5fdc8 (diff)
downloadEAAF-Components-69132ec5bc165395458e49c421d0f38925d16ec5.tar.gz
EAAF-Components-69132ec5bc165395458e49c421d0f38925d16ec5.tar.bz2
EAAF-Components-69132ec5bc165395458e49c421d0f38925d16ec5.zip
adapt logging to improve debugging
Diffstat (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java
index 2a8dd756..9511f46e 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/ProtocolFinalizationController.java
@@ -76,6 +76,7 @@ public class ProtocolFinalizationController extends AbstractController {
IRequest pendingReq = null;
try {
String errorId = requestIdValidationStragegy.validateAndGetPendingRequestId(errorToken);
+ log.debug("Searching exception with internal error-token: {}", errorId);
// load stored exception from database
final byte[] containerSerialized =
@@ -83,7 +84,8 @@ public class ProtocolFinalizationController extends AbstractController {
if (containerSerialized != null) {
// remove exception if it was found
transactionStorage.remove(errorId);
-
+ log.trace("Find exception with internal error-token: {}", errorId);
+
//final Object containerObj = EaafSerializationUtils.deserialize(containerSerialized,
// Arrays.asList(
// ExceptionContainer.class.getName()
@@ -115,6 +117,7 @@ public class ProtocolFinalizationController extends AbstractController {
}
} else {
+ log.info("Find no exception with internal error-token: {}", errorId);
protAuthService.handleErrorNoRedirect(
new EaafException(IStatusMessenger.CODES_INTERNAL_ERROR_AUTH_NOPENDIGREQID, null),
req, resp, false);