aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-02-26 10:02:16 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-02-26 15:07:58 +0100
commit2f4f739506a1f054c0fbb3f28e97e1c13f798758 (patch)
tree3f17a559a61445eef79ee6ebb89063a9c2e50b6c /id/server/idserverlib/src/main/java/at/gv/egovernment
parentb7a64411283c5a5496383164ced201ef42eb3d63 (diff)
downloadmoa-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/gv/egovernment')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java4
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