This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch WW-5716
in repository https://gitbox.apache.org/repos/asf/struts.git
from cc69a4531 WW-5716 fix(tiles): bound the per-locale definition caches
add b96a99e08 WW-5712 Cover Jackson any-setters in REST parameter
authorization (#1889)
add c373c5312 WW-5717 build: bump Spring Framework to 7.0.9 in the
jakartaee11 profile
add 3a05ecff5 Merge pull request #1911 from apache/WW-5717-spring-7.0.9
add cb0c9e9ef build(deps): bump org.apache.felix:maven-bundle-plugin from
6.1.0 to 6.1.2 (#1910)
add 9b7187a30 build(deps-dev): bump
org.apache.maven.plugins:maven-failsafe-plugin from 3.5.6 to 3.6.0 (#1909)
add a5e76c5cb build(deps): bump org.htmlunit:htmlunit from 5.4.0 to 5.5.0
(#1906)
add f2f36a873 build(deps-dev): bump byte-buddy.version from 1.18.12 to
1.18.13 (#1904)
add 307a08bc2 Merge remote-tracking branch 'origin/main' into WW-5716
No new revisions were added by this update.
Summary of changes:
apps/showcase/pom.xml | 2 +-
.../interceptor/parameter/StrutsParameter.java | 11 +
parent/pom.xml | 2 +-
.../org/apache/struts2/rest/RestConstants.java | 1 +
.../rest/config/entities/RestConstantConfig.java | 11 +
.../struts2/rest/handler/JacksonJsonHandler.java | 17 +-
.../struts2/rest/handler/JacksonXmlHandler.java | 18 +-
.../jackson/AuthorizingSettableAnyProperty.java | 266 +++++++++++++++
.../jackson/AuthorizingSettableBeanProperty.java | 4 +-
.../jackson/AuthorizingValueDeserializer.java | 2 +-
.../jackson/DynamicKeyAuthorizationContext.java | 115 +++++++
.../jackson/ParameterAuthorizingModule.java | 31 ++
plugins/rest/src/main/resources/struts-plugin.xml | 1 +
.../ContentTypeInterceptorIntegrationTest.java | 60 +++-
.../jackson/ParameterAuthorizingModuleTest.java | 375 +++++++++++++++++++++
pom.xml | 6 +-
16 files changed, 909 insertions(+), 13 deletions(-)
create mode 100644
plugins/rest/src/main/java/org/apache/struts2/rest/handler/jackson/AuthorizingSettableAnyProperty.java
create mode 100644
plugins/rest/src/main/java/org/apache/struts2/rest/handler/jackson/DynamicKeyAuthorizationContext.java