diff options
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java | 7 |
1 files changed, 4 insertions, 3 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 f6360f4cf..cd3191755 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 @@ -409,10 +409,11 @@ public Map<String, String> getFormCustomizaten() { */ @Override public Integer getQaaLevel() { - - if (oa_auth.getOASTORK() != null && oa_auth.getOASTORK().getQaa() != null) + if (oa_auth.getOASTORK() != null && + oa_auth.getOASTORK().getQaa() != null && + oa_auth.getOASTORK().getQaa() >= 1 && + oa_auth.getOASTORK().getQaa() <= 4) return oa_auth.getOASTORK().getQaa(); - else return 4; } |