[ 
https://issues.apache.org/jira/browse/FELIX-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831683#comment-16831683
 ] 

Stefan Bischof commented on FELIX-6107:
---------------------------------------

I agree, the best way is not to log configuration values.

Thank you

> Loggging Passwords when invoking activate Method
> ------------------------------------------------
>
>                 Key: FELIX-6107
>                 URL: https://issues.apache.org/jira/browse/FELIX-6107
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-2.1.16
>            Reporter: Stefan Bischof
>            Priority: Critical
>             Fix For: scr-2.1.18
>
>
> Configurations with an MetaType - AttributeDefinitions of the Type "Password" 
> shouldn't be logged.
>  
> got this Log:
> {code:java}
> invoking activate: act: parameters [my.domain.my.Service$Cfg : {hashCode=0, 
> pw=hack, equals=false, annotationType=null, toString=null}]{code}
>  
> From:
> org.apache.felix.scr.impl.inject.methods.BaseMethod:invokeMethod:Line 226/227
>  
> The MetaType of the parameter is "password"
>  
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to