aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-12-04 09:57:17 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-12-04 09:57:17 +0100
commitd222f975e7ad212264dab7cb7a0c39ec40478222 (patch)
tree92ecdcc3399877417ab57eb1b7fa9334f32933d9 /id/server/idserverlib/src/main
parent309f381c1ef98a82a23da42cda99734032b73bf4 (diff)
downloadmoa-id-spss-d222f975e7ad212264dab7cb7a0c39ec40478222.tar.gz
moa-id-spss-d222f975e7ad212264dab7cb7a0c39ec40478222.tar.bz2
moa-id-spss-d222f975e7ad212264dab7cb7a0c39ec40478222.zip
STORK<->PVP AttributeProvider : fix problem with more then one attribute in configuration
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/PVPAuthenticationProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/PVPAuthenticationProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/PVPAuthenticationProvider.java
index a026bac81..7f06c604b 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/PVPAuthenticationProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/attributeproviders/PVPAuthenticationProvider.java
@@ -80,7 +80,7 @@ public class PVPAuthenticationProvider extends AttributeProvider {
this.moastorkRequest = moastorkRequest;
// break if we cannot handle the requested attribute
- if (!attributes.contains(attribute.getName())) {
+ if (!getSupportedAttributeNames().contains(attribute.getName())) {
Logger.info("Attribute " + attribute.getName() + " not supported by the provider: " + getAttrProviderName());
throw new UnsupportedAttributeException();