diff options
author | Thomas <thomas.lenz@egiz.gv.at> | 2019-04-30 21:48:15 +0200 |
---|---|---|
committer | Thomas <thomas.lenz@egiz.gv.at> | 2019-04-30 21:48:15 +0200 |
commit | 55a2c1d75eb488384cc87a230d1ec3978b13bba9 (patch) | |
tree | eb1c1efde02182234000379992c81b31d8dab979 /eaaf_core/src | |
parent | 02851082661a924adc68230615f61a308705ce2b (diff) | |
download | EAAF-Components-55a2c1d75eb488384cc87a230d1ec3978b13bba9.tar.gz EAAF-Components-55a2c1d75eb488384cc87a230d1ec3978b13bba9.tar.bz2 EAAF-Components-55a2c1d75eb488384cc87a230d1ec3978b13bba9.zip |
fix logic bug in SourcePin attribute-builder
Diffstat (limited to 'eaaf_core/src')
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/builder/attributes/EIDSourcePIN.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |