From b13a7517ea0f625d9b24b8d1ca709c8224e9c4d4 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 19 Dec 2022 14:28:16 +0100 Subject: feat(core): support not-notified eIDAS LoA --- .../impl/idp/auth/builder/AbstractAuthenticationDataBuilder.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'eaaf_core') diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/AbstractAuthenticationDataBuilder.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/AbstractAuthenticationDataBuilder.java index 142dcf28..9d24eb8c 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/AbstractAuthenticationDataBuilder.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/AbstractAuthenticationDataBuilder.java @@ -315,12 +315,16 @@ public abstract class AbstractAuthenticationDataBuilder implements IAuthenticati if (currentLoA.startsWith(EaafConstants.EIDAS_LOA_PREFIX)) { authData.setEidasLoa(currentLoA); + } else if (currentLoA.startsWith(EaafConstants.EIDAS_LOA_NOT_NOTIFIED_PREFIX)) { + log.info("Find not-notified eIDAS LoA: {}. Use it as it is", currentLoA); + authData.setEidasLoa(currentLoA); + } else { log.info("Only eIDAS LoAs are supported by this implementation"); } } else { - log.info("No QAA level found. Set to default level " + EaafConstants.EIDAS_LOA_LOW); + log.info("No QAA level found. Set to default level: {}", EaafConstants.EIDAS_LOA_LOW); authData.setEidasLoa(EaafConstants.EIDAS_LOA_LOW); } -- cgit v1.2.3