WW-5242 Marks struts.mapper.action.prefix.crossNamespaces as deprecated

This commit is contained in:
Lukasz Lenart
2022-10-14 12:49:22 +02:00
parent 4c8cc361d5
commit e783d18715
@@ -236,6 +236,11 @@ public class DefaultActionMapper implements ActionMapper {
this.allowActionPrefix = BooleanUtils.toBoolean(allowActionPrefix);
}
/**
* @deprecated since 6.1.0 - please refactor your application to avoid using this functionality
* @param allowActionCrossNamespaceAccess true to enable cross namespace action access
*/
@Deprecated
@Inject(value = StrutsConstants.STRUTS_MAPPER_ACTION_PREFIX_CROSSNAMESPACES)
public void setAllowActionCrossNamespaceAccess(String allowActionCrossNamespaceAccess) {
this.allowActionCrossNamespaceAccess = BooleanUtils.toBoolean(allowActionCrossNamespaceAccess);