WW-5364 Replace some allowlist classes with packages

This commit is contained in:
Kusal Kithul-Godage
2023-11-24 22:41:14 +11:00
parent 6657e01f9b
commit d7df9ce998
+6 -6
View File
@@ -33,15 +33,15 @@
<constant name="struts.configuration.xml.reload" value="false" />
<constant name="struts.custom.i18n.resources" value="globalMessages" />
<constant name="struts.action.extension" value="action,," />
<constant name="struts.allowlist.enable" value="true" />
<constant name="struts.allowlist.enable" value="true" />
<constant name="struts.allowlist.packageNames"
value="
org.apache.struts2.showcase.model,
org.apache.struts2.showcase.conversion
"/>
<constant name="struts.allowlist.classes"
value="
org.apache.struts2.showcase.model.Employee,
org.apache.struts2.showcase.model.Skill,
org.apache.struts2.showcase.conversion.Address,
org.apache.struts2.showcase.conversion.Person,
org.apache.struts2.showcase.conversion.OperationsEnum,
org.apache.struts2.showcase.UITagExample$Language,
org.apache.struts2.showcase.UITagExample$VehicalType,
org.apache.struts2.showcase.UITagExample$VehicalSpecific