Adds some logging

This commit is contained in:
Lukasz Lenart
2016-05-05 10:37:54 +02:00
parent af27d692de
commit bb9df6c7d3
@@ -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);
}