Github user lukaszlenart commented on a diff in the pull request:
https://github.com/apache/struts/pull/99#discussion_r66703095
--- Diff:
core/src/main/java/com/opensymphony/xwork2/config/entities/PackageConfig.java
---
@@ -346,6 +346,13 @@ public boolean isNeedsRefresh() {
return globalExceptionMappingConfigs;
}
+ /**
+ * gets the GlobalAllowedMethods local to this package
+ *
+ * @return a Set of method names allowed to be executed if strict
method invocation is enabled
+ */
+ public Set<String> getGlobalAllowedMethods() { return
globalAllowedMethods; }
--- End diff --
Can this return unmodifiable collections?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]