[ https://issues.apache.org/jira/browse/WW-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953389#comment-14953389 ]
Lukasz Lenart commented on WW-4540: ----------------------------------- I think you are missing this logic in you {{PackageProvider}} {code:java} if (pkgCfg.isStrictMethodInvocation()) { actionConfig.addAllowedMethod(actionMethod); actionConfig.addAllowedMethod(allowedMethods); actionConfig.addAllowedMethod(pkgCfg.getGlobalAllowedMethods()); } else { actionConfig.addAllowedMethod(ActionConfig.REGEX_WILDCARD); } {code} https://github.com/apache/struts/blob/master/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java#L924-L930 > Enable Strict DMI by default > ---------------------------- > > Key: WW-4540 > URL: https://issues.apache.org/jira/browse/WW-4540 > Project: Struts 2 > Issue Type: Improvement > Components: Core Actions > Reporter: Lukasz Lenart > Assignee: Lukasz Lenart > Fix For: 2.5 > > > Struts 2 already supports {{Strict DMI}} but it's disabled by default. > {{Strict DMI}} should be always enable to allow access only specific methods. -- This message was sent by Atlassian JIRA (v6.3.4#6332)