From 55a2c1d75eb488384cc87a230d1ec3978b13bba9 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 30 Apr 2019 21:48:15 +0200 Subject: fix logic bug in SourcePin attribute-builder --- .../at/gv/egiz/eaaf/core/impl/idp/builder/attributes/EIDSourcePIN.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eaaf_core') diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/builder/attributes/EIDSourcePIN.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/builder/attributes/EIDSourcePIN.java index 0db3f1fe..4db2d87d 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/builder/attributes/EIDSourcePIN.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/builder/attributes/EIDSourcePIN.java @@ -51,7 +51,7 @@ public class EIDSourcePIN implements IPVPAttributeBuilder { throw new AttributePolicyException(EID_SOURCE_PIN_NAME); else { - if (StringUtils.isNoneEmpty(authData.getIdentificationValue())) + if (StringUtils.isEmpty(authData.getIdentificationValue())) throw new UnavailableAttributeException(EID_SOURCE_PIN_NAME); return g.buildStringAttribute(EID_SOURCE_PIN_FRIENDLY_NAME, EID_SOURCE_PIN_NAME, authData.getIdentificationValue()); -- cgit v1.2.3