[ 
https://issues.apache.org/jira/browse/WW-5343?focusedWorklogId=892172&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-892172
 ]

ASF GitHub Bot logged work on WW-5343:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Nov/23 07:38
            Start Date: 26/Nov/23 07:38
    Worklog Time Spent: 10m 
      Work Description: kusalk commented on code in PR #791:
URL: https://github.com/apache/struts/pull/791#discussion_r1405343013


##########
core/src/main/java/com/opensymphony/xwork2/config/impl/DefaultConfiguration.java:
##########
@@ -385,6 +386,7 @@ protected Container 
createBootstrapContainer(List<ContainerProvider> providers)
         builder.factory(ExpressionCacheFactory.class, 
DefaultOgnlExpressionCacheFactory.class, Scope.SINGLETON);
         builder.factory(BeanInfoCacheFactory.class, 
DefaultOgnlBeanInfoCacheFactory.class, Scope.SINGLETON);
         builder.factory(OgnlUtil.class, Scope.SINGLETON);
+        builder.factory(SecurityMemberAccess.class, Scope.PROTOTYPE);

Review Comment:
   That is, the container would return a new instance, and not the one that is 
being used by the ValueStack





Issue Time Tracking
-------------------

    Worklog Id:     (was: 892172)
    Time Spent: 1h 20m  (was: 1h 10m)

> Make SecurityMemberAccess extensible and a prototype bean
> ---------------------------------------------------------
>
>                 Key: WW-5343
>                 URL: https://issues.apache.org/jira/browse/WW-5343
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kusal Kithul-Godage
>            Priority: Minor
>             Fix For: 6.4.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to