aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-07-08 15:00:05 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-07-08 15:00:05 +0200
commit2c08cd2206340912411e092a99c6874be179d211 (patch)
tree08fc01dff9784a7623542892a5f142af59b662f3 /id/server/idserverlib/src
parent5f01c76acc4bcb0539f3de39b3e38e0bd25e336f (diff)
downloadmoa-id-spss-2c08cd2206340912411e092a99c6874be179d211.tar.gz
moa-id-spss-2c08cd2206340912411e092a99c6874be179d211.tar.bz2
moa-id-spss-2c08cd2206340912411e092a99c6874be179d211.zip
attribute provider fix
If one attribute failed all followings were skipped
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java
index c64c5b488..3bd827667 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java
@@ -455,8 +455,12 @@ public class AuthenticationRequest implements IAction {
try {
for (PersonalAttribute personalAttribute : attrLst) {
+ try {
Logger.debug("Personal attribute found in request: " + personalAttribute.getName() + " isRequired: " + personalAttribute.isRequired());
moaAttributeProvider.populateAttribute(attributeList, personalAttribute);
+ } catch (Exception e) {
+ Logger.error("Exception, attributes: " + e.getMessage());
+ }
}
} catch (Exception e) {
Logger.error("Exception, attributes: " + e.getMessage());