struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "victorsosa (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (WW-4348) Remove access to static methods
Date Sun, 10 Jan 2016 12:45:40 GMT

    [ https://issues.apache.org/jira/browse/WW-4348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091016#comment-15091016
] 

victorsosa edited comment on WW-4348 at 1/10/16 12:45 PM:
----------------------------------------------------------

This is already implemented, please check com.opensymphony.xwork2.ognl.OgnlUtil.setAllowStaticMethodAccess(String)

you only need to set "struts.ognl.allowStaticMethodAccess" true

<constant name="struts.ognl.allowStaticMethodAccess" value="true" />


was (Author: victorsosa):
This is already implemented, please check com.opensymphony.xwork2.ognl.OgnlUtil.setAllowStaticMethodAccess(String)

you only need to set "struts.ognl.allowStaticMethodAccess" true

> Remove access to static methods
> -------------------------------
>
>                 Key: WW-4348
>                 URL: https://issues.apache.org/jira/browse/WW-4348
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions: 2.3.16.3
>            Reporter: Lukasz Lenart
>            Priority: Critical
>             Fix For: 2.5
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message