diff options
author | Thomas <> | 2021-07-14 17:07:30 +0200 |
---|---|---|
committer | Thomas <> | 2022-03-03 16:31:57 +0100 |
commit | e2a1b944ca41ec3cfcaa7f0a984b0c2dece036b0 (patch) | |
tree | 27367ad99e168a89ba8d821bbc7b4c3ebbd4e354 /eidas_modules/eidas_proxy-sevice/src/main/java/at | |
parent | 9f64aa95bc61320ffc0aa97b79a74a442ae8e7be (diff) | |
download | National_eIDAS_Gateway-e2a1b944ca41ec3cfcaa7f0a984b0c2dece036b0.tar.gz National_eIDAS_Gateway-e2a1b944ca41ec3cfcaa7f0a984b0c2dece036b0.tar.bz2 National_eIDAS_Gateway-e2a1b944ca41ec3cfcaa7f0a984b0c2dece036b0.zip |
use subStatusCode from enum because eIDAS Node only allows that pre-defined values
Diffstat (limited to 'eidas_modules/eidas_proxy-sevice/src/main/java/at')
-rw-r--r-- | eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java b/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java index 606dbb39..080a910e 100644 --- a/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java +++ b/eidas_modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java @@ -40,6 +40,7 @@ import at.gv.egiz.eaaf.core.exceptions.EaafException; import at.gv.egiz.eaaf.core.exceptions.GuiBuildException; import at.gv.egiz.eaaf.core.impl.idp.controller.AbstractController; import at.gv.egiz.eaaf.core.impl.utils.KeyValueUtils; +import eu.eidas.auth.commons.EIDASSubStatusCode; import eu.eidas.auth.commons.EidasParameterKeys; import eu.eidas.auth.commons.light.ILightRequest; import eu.eidas.auth.commons.light.impl.LightResponse; @@ -192,7 +193,7 @@ public class EidasProxyServiceController extends AbstractController implements I lightRespBuilder.subjectNameIdFormat(NameIDType.TRANSIENT); lightRespBuilder.status(ResponseStatus.builder() .statusCode(StatusCode.RESPONDER) - .subStatusCode(statusMessager.mapInternalErrorToExternalError(statusMessager.getResponseErrorCode(e))) + .subStatusCode(EIDASSubStatusCode.AUTHN_FAILED_URI.getValue()) .statusMessage(StringEscapeUtils.escapeXml(e.getLocalizedMessage())) .build()); |