[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-dev
Subject:    [jira] [Commented] (WW-4429) struts.ognl.allowStaticMethodAccess is not working for static method
From:       "Hudson (JIRA)" <jira () apache ! org>
Date:       2014-12-31 17:33:18
Message-ID: JIRA.12761046.1418299020000.122543.1420047198173 () Atlassian ! JIRA
[Download RAW message or body]


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

Hudson commented on WW-4429:
----------------------------

FAILURE: Integrated in Struts-JDK6-master #901 (See \
[https://builds.apache.org/job/Struts-JDK6-master/901/]) WW-4429 Fixes support for \
                accessing static methods (lukaszlenart: rev \
                532841d40f164a8d8ae6ac0b85b60d3cf6db0011)
* xwork-core/src/test/java/com/opensymphony/xwork2/ognl/SecurityMemberAccessTest.java
* xwork-core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java
WW-4429 Simplifies isClassExcluded interface (lukaszlenart: rev \
                095018c3a022fbc867ace58942139c395a272fd8)
* xwork-core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java
WW-4429 Adds additional tests to cover unsecure access (lukaszlenart: rev \
                f4918d1e2fc254a4805963ffa91c6f7c5f5e5988)
* xwork-core/src/test/java/com/opensymphony/xwork2/ognl/SecurityMemberAccessTest.java


> struts.ognl.allowStaticMethodAccess is not working for static method
> --------------------------------------------------------------------
> 
> Key: WW-4429
> URL: https://issues.apache.org/jira/browse/WW-4429
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.3.20
> Reporter: Tom Nguyen
> Assignee: Lukasz Lenart
> Labels: xwork
> Fix For: 2.3.21
> 
> 
> Setting {{<constant name="struts.ognl.allowStaticMethodAccess" value="true"/>}} in \
> {{struts.xml}} can only allow access to static fields but not static methods for \
> example  {{<s:property value="@java.util.Calendar@DAY_OF_WEEK"/>}} is working
> But 
> {{<s:property value="@com.your.full.package.Classname@methodName(optionalParameters)" \
> />}} not working This feature used to work in struts-2.3.16.3, but not working \
> after upgrade to struts-2.3.20



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic