mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-06-21 00:23:11 +00:00
Updated the messaging for an invalid swid tag file and added .log as another type of tmp log file to extension to accept.
This commit is contained in:
@ -61,7 +61,7 @@ public class ReferenceManifestPageController
|
|||||||
extends PageController<NoPageParams> {
|
extends PageController<NoPageParams> {
|
||||||
|
|
||||||
private static final String BIOS_RELEASE_DATE_FORMAT = "yyyy-MM-dd";
|
private static final String BIOS_RELEASE_DATE_FORMAT = "yyyy-MM-dd";
|
||||||
private static final String LOG_FILE_PATTERN = "([^\\s]+(\\.(?i)(rim|rimel|bin))$)";
|
private static final String LOG_FILE_PATTERN = "([^\\s]+(\\.(?i)(rim|rimel|bin|log))$)";
|
||||||
|
|
||||||
private final BiosDateValidator biosValidator;
|
private final BiosDateValidator biosValidator;
|
||||||
private final ReferenceManifestManager referenceManifestManager;
|
private final ReferenceManifestManager referenceManifestManager;
|
||||||
@ -232,10 +232,6 @@ public class ReferenceManifestPageController
|
|||||||
messages,
|
messages,
|
||||||
rim,
|
rim,
|
||||||
referenceManifestManager);
|
referenceManifestManager);
|
||||||
|
|
||||||
for (SwidResource swidRes : rim.parseResource()) {
|
|
||||||
System.out.println("testing this section!");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -469,7 +469,7 @@ public class ReferenceManifest extends ArchivableEntity {
|
|||||||
if (jaxbe != null) {
|
if (jaxbe != null) {
|
||||||
return jaxbe;
|
return jaxbe;
|
||||||
} else {
|
} else {
|
||||||
throw new IOException("Invalid swidtag file!");
|
throw new IOException("Invalid Base RIM, swidtag format expected.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user