From ca3e57470d974fe9d045c52a4a2c7913f421f4ce Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 11 Dec 2023 12:56:17 +0100 Subject: fix(proxyservice): possible nullpointer exception --- .../msproxyservice/protocol/ProxyServiceAuthenticationAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/eidas_proxy-sevice/src/main') diff --git a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java index fe7c7d7f..bb85f18c 100644 --- a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java +++ b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java @@ -133,7 +133,7 @@ public class ProxyServiceAuthenticationAction implements IAction { private void logProvidedAttributes(LightResponse eidasResp) { - if (eidasResp.getAttributes() == null && eidasResp.getAttributes().isEmpty()) { + if (eidasResp.getAttributes() == null || eidasResp.getAttributes().isEmpty()) { log.warn("Transfer no attributes to eIDAS Node. There is something wrong"); } else { -- cgit v1.2.3