summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-03-10 13:58:43 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-03-10 13:58:43 +0100
commit19bc544de503af5992d045a699a1f2bcc1eaf505 (patch)
tree5f0772ca81bd76be3222d6f95df8b7bf345fc570
parent56f6da9375ca0467d0087893516325c0f5608ea6 (diff)
downloadEAAF-Components-19bc544de503af5992d045a699a1f2bcc1eaf505.tar.gz
EAAF-Components-19bc544de503af5992d045a699a1f2bcc1eaf505.tar.bz2
EAAF-Components-19bc544de503af5992d045a699a1f2bcc1eaf505.zip
inject X509 certificates into JOSE signature-verification response if available
-rw-r--r--eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtils.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtils.java
index 1b1f090f..ccb650b3 100644
--- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtils.java
+++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtils.java
@@ -230,7 +230,7 @@ public class JsonSecurityUtils implements IJoseTools {
jws.setKey(selectedKey);
// load payLoad
- return new VerificationResult(mapper.getMapper().readTree(jws.getPayload()), null, jws.verifySignature());
+ return new VerificationResult(mapper.getMapper().readTree(jws.getPayload()), x5cCerts, jws.verifySignature());
}