mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
WW-5242 Marks struts.mapper.action.prefix.crossNamespaces as deprecated
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user