aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
index cd3191755..f58fe2495 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java
@@ -431,7 +431,14 @@ public List<OAStorkAttribute> getRequestedAttributes() {
*/
@Override
public boolean isRequireConsentForStorkAttributes() {
- return oa_auth.getOASTORK().isRequireConsent();
+ try{
+ return oa_auth.getOASTORK().isRequireConsent();
+ }catch(Exception e)
+ {
+ e.printStackTrace();
+ Logger.warn("isRequireConsentForStorkAttributes() failed, returning default value 'true'");
+ return true;
+ }
}
/* (non-Javadoc)