mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
Adds some logging
This commit is contained in:
+3
-1
@@ -873,11 +873,13 @@ public class XmlConfigurationProvider implements ConfigurationProvider {
|
||||
// user enabled Strict DMI but didn't defined action specific 'allowed-methods' so we use 'global-allowed-methods' only
|
||||
allowedMethods = new HashSet<>(packageContext.getGlobalAllowedMethods());
|
||||
} else {
|
||||
// Strict DMI is disabled to any method can be called
|
||||
// Strict DMI is disabled so any method can be called
|
||||
allowedMethods = new HashSet<>();
|
||||
allowedMethods.add(ActionConfig.WILDCARD);
|
||||
}
|
||||
|
||||
LOG.debug("Collected allowed methods: {}", allowedMethods);
|
||||
|
||||
return Collections.unmodifiableSet(allowedMethods);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user