diff options
author | Thomas <> | 2022-12-19 14:28:16 +0100 |
---|---|---|
committer | Thomas <> | 2022-12-19 14:28:16 +0100 |
commit | b13a7517ea0f625d9b24b8d1ca709c8224e9c4d4 (patch) | |
tree | cb29b092a3338e91410d97210e81f690eb40a26c /eaaf_core/src | |
parent | 31a4bcf1651cff3e27e35a34aa67effb33996dcb (diff) | |
download | EAAF-Components-b13a7517ea0f625d9b24b8d1ca709c8224e9c4d4.tar.gz EAAF-Components-b13a7517ea0f625d9b24b8d1ca709c8224e9c4d4.tar.bz2 EAAF-Components-b13a7517ea0f625d9b24b8d1ca709c8224e9c4d4.zip |
feat(core): support not-notified eIDAS LoA
Diffstat (limited to 'eaaf_core/src')
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/AbstractAuthenticationDataBuilder.java | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |