diff options
author | Thomas <> | 2023-12-11 12:56:17 +0100 |
---|---|---|
committer | Thomas <> | 2023-12-11 12:56:17 +0100 |
commit | ca3e57470d974fe9d045c52a4a2c7913f421f4ce (patch) | |
tree | a05716e16f0780218f3eda0c4cb8a559fd217c0c /modules | |
parent | 36cf33a80709e5f09f604f20ea26d0633b5b0d85 (diff) | |
download | National_eIDAS_Gateway-ca3e57470d974fe9d045c52a4a2c7913f421f4ce.tar.gz National_eIDAS_Gateway-ca3e57470d974fe9d045c52a4a2c7913f421f4ce.tar.bz2 National_eIDAS_Gateway-ca3e57470d974fe9d045c52a4a2c7913f421f4ce.zip |
fix(proxyservice): possible nullpointer exception
Diffstat (limited to 'modules')
-rw-r--r-- | modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |