aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv/egovernment/moa
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-07-14 14:04:03 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-07-14 14:04:03 +0200
commit92db89befcaa7bb0a94bc9488574fe108e0202f5 (patch)
tree2ad075936cad5104a8121e39dac0d81103281822 /id/server/idserverlib/src/main/java/at/gv/egovernment/moa
parent1e368ef5077cbc7ebacf2a0034de23c027e93eb3 (diff)
downloadmoa-id-spss-92db89befcaa7bb0a94bc9488574fe108e0202f5.tar.gz
moa-id-spss-92db89befcaa7bb0a94bc9488574fe108e0202f5.tar.bz2
moa-id-spss-92db89befcaa7bb0a94bc9488574fe108e0202f5.zip
SignedDocAttrributeProvider - check if attribute is accessable
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment/moa')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/SignedDocAttributeRequestProvider.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/SignedDocAttributeRequestProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/SignedDocAttributeRequestProvider.java
index 2aa10b9dd..13b14b0be 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/SignedDocAttributeRequestProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/SignedDocAttributeRequestProvider.java
@@ -131,6 +131,14 @@ public class SignedDocAttributeRequestProvider extends AttributeProvider {
}
requestedAttribute = attribute;
+ try
+ {
+ String tmp = requestedAttribute.getValue().get(0);
+ }catch(Exception e)
+ {
+ Logger.info("SignedDocAttributeProvide failed:"+e.toString());
+ throw new UnsupportedAttributeException();
+ }
throw new ExternalAttributeRequestRequiredException(this);
}