diff options
-rw-r--r-- | eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/builder/Pvp2AssertionBuilder.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/builder/Pvp2AssertionBuilder.java b/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/builder/Pvp2AssertionBuilder.java index 733301be..261f7b2b 100644 --- a/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/builder/Pvp2AssertionBuilder.java +++ b/eaaf_modules/eaaf_module_pvp2_idp/src/main/java/at/gv/egiz/eaaf/modules/pvp2/idp/impl/builder/Pvp2AssertionBuilder.java @@ -158,13 +158,13 @@ public class Pvp2AssertionBuilder implements PvpConstants { final List<AuthnContextClassRef> reqAuthnContextClassRefIt = reqAuthnContext.getAuthnContextClassRefs(); - // get matching mode from authn. request - String loaMatchingMode = EaafConstants.EIDAS_LOA_MATCHING_MINIMUM; - if (reqAuthnContext.getComparison() != null - && StringUtils.isNotEmpty(reqAuthnContext.getComparison().toString())) { - loaMatchingMode = reqAuthnContext.getComparison().toString(); + // get matching mode from authn. request + String loaMatchingMode = pendingReq.getServiceProviderConfiguration().getLoAMatchingMode(); + if (StringUtils.isEmpty(loaMatchingMode)) { + loaMatchingMode = EaafConstants.EIDAS_LOA_MATCHING_MINIMUM; + } - + // get requested LoAs if (reqAuthnContextClassRefIt.size() == 0) { QaaLevelVerifier.verifyQaaLevel(authData.getEidasQaaLevel(), oaParam.getRequiredLoA(), |