IcedTea-Web icon indicating copy to clipboard operation
IcedTea-Web copied to clipboard

DeploymentRuleset: add matching logic for rules

Open sclassen opened this issue 3 years ago • 0 comments

Implement matching of rules according to https://docs.oracle.com/javase/10/deploy/deployment-rule-set.htm#GUID-413F29CF-81B5-4154-9C52-22D993819C2B

In the class net.adoptopenjdk.icedteaweb.deploymentrules.Rule there is a TODO in the method matches.

Please add the missing implementation and also include tests.

Inspiration can be drawn from the class ParsedWhitelistEntry

Decide how to react if a rule has any of the following elements or attributes set:

  • title
  • certificate
  • checksum
  • jnlp-checksum

sclassen avatar Oct 04 '21 20:10 sclassen