summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java
index 6343769e..153cac50 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java
@@ -562,7 +562,8 @@ public class ProtocolAuthenticationService implements IProtocolAuthenticationSer
} else if (e instanceof AuthnRequestValidatorException || e instanceof InvalidProtocolRequestException
|| e instanceof ProcessExecutionException || e instanceof ConfigurationException) {
// write error message
- writeHtmlErrorResponse(req, resp, e.getMessage(), internalErrorCode, null,
+ writeHtmlErrorResponse(req, resp, e.getMessage(), internalErrorCode,
+ e instanceof EaafException ? ((EaafException) e).getParams() : null,
statusMessager.mapInternalErrorToExternalError(internalErrorCode), errorData);
} else if (e instanceof EaafException) {