diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-02-26 10:02:16 +0100 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-02-26 15:07:58 +0100 |
commit | 2f4f739506a1f054c0fbb3f28e97e1c13f798758 (patch) | |
tree | 3f17a559a61445eef79ee6ebb89063a9c2e50b6c /id/server/idserverlib/src/main/java/at | |
parent | b7a64411283c5a5496383164ced201ef42eb3d63 (diff) | |
download | moa-id-spss-2f4f739506a1f054c0fbb3f28e97e1c13f798758.tar.gz moa-id-spss-2f4f739506a1f054c0fbb3f28e97e1c13f798758.tar.bz2 moa-id-spss-2f4f739506a1f054c0fbb3f28e97e1c13f798758.zip |
report an attribute request that is not supported by eHVD AP plugin
Diffstat (limited to 'id/server/idserverlib/src/main/java/at')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java index 28f5b23a3..7dc4b8ac1 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java @@ -26,6 +26,10 @@ public class EHvdAttributeProviderPlugin implements AttributeProvider { throws UnsupportedAttributeException, ExternalAttributeRequestRequiredException { + // break when we cannot handle the requested attribute + if(!attributes.getFriendlyName().equals("isHealthcareProfessional")) + throw new UnsupportedAttributeException(); + try { // create SOAP connection |