struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (Commented) (JIRA)" <>
Subject [jira] [Commented] (WW-3760) Change of access level to enable overriding
Date Wed, 22 Feb 2012 09:40:48 GMT


Lukasz Lenart commented on WW-3760:

When do you need to filter those parameters ? On production with DEBUG level ?
> Change of access level to enable overriding
> -------------------------------------------
>                 Key: WW-3760
>                 URL:
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions:
>            Reporter: Jose L Martinez-Avial
>            Priority: Minor
>              Labels: ParametersInterceptor, overridable
>             Fix For: 2.3.2
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message