You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ku...@apache.org on 2024/01/02 08:38:18 UTC
(struts-site) 02/02: WW-5381 Document new accessor extension points
This is an automated email from the ASF dual-hosted git repository.
kusal pushed a commit to branch WW-5378-WW-5381-context-ext
in repository https://gitbox.apache.org/repos/asf/struts-site.git
commit ea68306077c402ddcf1d7fef5c5dcf8a2291f65f
Author: Kusal Kithul-Godage <gi...@kusal.io>
AuthorDate: Tue Jan 2 19:38:10 2024 +1100
WW-5381 Document new accessor extension points
---
source/plugins/plugins-architecture.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/source/plugins/plugins-architecture.md b/source/plugins/plugins-architecture.md
index 9841a6519..e0a3cc647 100644
--- a/source/plugins/plugins-architecture.md
+++ b/source/plugins/plugins-architecture.md
@@ -112,6 +112,8 @@ The following extension points are available in Struts 2:
| struts.date.formatter | Allow define a date formatter used by `<s:date/>` tag (since 6.0.0) | singleton | org.apache.struts2.components.date.DateFormatter |
| struts.ognlGuard | Define a custom OgnlGuard implementation to block raw or compiled OGNL expressions (since 6.4.0) | singleton | org.apache.struts2.ognl.OgnlGuard |
| struts.securityMemberAccess | Define a custom SecurityMemberAccess implementation, used to restrict OGNL evaluations based on classes involved (since 6.4.0) | prototype | com.opensymphony.xwork2.ognl.SecurityMemberAccess |
+| struts.compoundRootAccessor | Define a custom CompoundRootAccessor implementation, used to resolve classes and manipulate the CompoundRoot (since 6.4.0) | singleton | com.opensymphony.xwork2.ognl.accessor.RootAccessor |
+| struts.methodAccessor | Define a custom MethodAccessor implementation, used to evaluate OGNL method calls (since 6.4.0) | singleton | ognl.MethodAccessor |
## Plugin Examples