summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main/java/at/gv
diff options
context:
space:
mode:
authorThomas <>2022-12-19 14:28:16 +0100
committerThomas <>2022-12-19 14:28:16 +0100
commitb13a7517ea0f625d9b24b8d1ca709c8224e9c4d4 (patch)
treecb29b092a3338e91410d97210e81f690eb40a26c /eaaf_core/src/main/java/at/gv
parent31a4bcf1651cff3e27e35a34aa67effb33996dcb (diff)
downloadEAAF-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/main/java/at/gv')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/AbstractAuthenticationDataBuilder.java6
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);
}