Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3760

Change of access level to enable overriding

    XMLWordPrintableJSON

    Details

      Description

      The method getParameterLogMap on com.opensymphony.xwork2.interceptor.ParametersInterceptor is declared as private. As a consequence it is not possible to override it.

      The idea of overriding it is to be able to use log level DEBUG for that interceptor(and see the parameters on the log) while allowing some massaging of the log that will be shown. For example, I would like to show the value of any parameter, except for the one called password. As it is today, that is not possible.

      The proposed solution is trivial: just change the method to be protected, so any user can override that method.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              jlmagc Jose L Martinez-Avial
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified