SHCParser file cleanup (#640)

* Use File.createTempFile to manage SHCParser payload writing

* Undo auto-reorg imports

* Remove JsonTrackingParser.write
This commit is contained in:
dotasek 2021-11-03 10:40:06 -04:00 committed by GitHub
parent 52cbe69651
commit 83b1702cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 15 deletions

View File

@ -97,7 +97,7 @@ public class SHCParser extends ParserBase {
return res; return res;
} }
map = jwt.map; map = jwt.map;
JsonTrackingParser.write(jwt.payload, "c:\\temp\\payload.json");
checkNamedProperties(jwt.getPayload(), prefix+"payload", "iss", "nbf", "vc"); checkNamedProperties(jwt.getPayload(), prefix+"payload", "iss", "nbf", "vc");
checkProperty(jwt.getPayload(), prefix+"payload", "iss", true, "String"); checkProperty(jwt.getPayload(), prefix+"payload", "iss", true, "String");
logError(1, 1, prefix+"JWT", IssueType.INFORMATIONAL, "The FHIR Validator does not check the JWT signature "+ logError(1, 1, prefix+"JWT", IssueType.INFORMATIONAL, "The FHIR Validator does not check the JWT signature "+