aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorThomas <>2023-12-11 12:56:17 +0100
committerThomas <>2023-12-11 12:56:17 +0100
commitca3e57470d974fe9d045c52a4a2c7913f421f4ce (patch)
treea05716e16f0780218f3eda0c4cb8a559fd217c0c /modules
parent36cf33a80709e5f09f604f20ea26d0633b5b0d85 (diff)
downloadNational_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.java2
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 {