aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {