summaryrefslogtreecommitdiff
path: root/eaaf_core/src
diff options
context:
space:
mode:
authorThomas <>2023-05-25 16:37:10 +0200
committerThomas <>2023-05-25 16:37:10 +0200
commit89dc6315197f8d0cec79038ef0703d02af30a7a2 (patch)
treea26a289730135fd407b9ec92034ef4b130809d75 /eaaf_core/src
parent84b36f837222efbd3160bd41a9437058e1c5f2ff (diff)
downloadEAAF-Components-89dc6315197f8d0cec79038ef0703d02af30a7a2.tar.gz
EAAF-Components-89dc6315197f8d0cec79038ef0703d02af30a7a2.tar.bz2
EAAF-Components-89dc6315197f8d0cec79038ef0703d02af30a7a2.zip
feat(core): support Base64 to byte[] decoding is required
Diffstat (limited to 'eaaf_core/src')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/data/AuthProcessDataWrapper.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/data/AuthProcessDataWrapper.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/data/AuthProcessDataWrapper.java
index 383b4535..e76d0728 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/data/AuthProcessDataWrapper.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/data/AuthProcessDataWrapper.java
@@ -325,6 +325,10 @@ public class AuthProcessDataWrapper
final Object obj = authProcessData.get(key);
if (obj != null && clazz.isInstance(obj)) {
return (T) obj;
+
+ } else if (obj instanceof String && clazz.equals(byte[].class)) {
+ return (T) java.util.Base64.getDecoder().decode((String) obj);
+
}
}