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

ASF GitHub Bot logged work on DBCP-562:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Mar/20 22:44
            Start Date: 04/Mar/20 22:44
    Worklog Time Spent: 10m 
      Work Description: fgdrf commented on pull request #38: [DBCP-562] avoids 
exposing password via JMX
URL: https://github.com/apache/commons-dbcp/pull/38#discussion_r387979387
 
 

 ##########
 File path: src/main/java/org/apache/commons/dbcp2/BasicDataSourceMXBean.java
 ##########
 @@ -201,13 +201,6 @@ default String getDefaultSchema() {
      */
     int getNumIdle();
 
-    /**
 
 Review comment:
   @garydgregory Thanks for your fast feedback, I'll investigate if its 
possible to "filter" by attribute while register MBean. Since the method was 
public its exported. Any suggestions?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 397937)
    Time Spent: 0.5h  (was: 20m)

> Password should not be exposed via JMXBean
> ------------------------------------------
>
>                 Key: DBCP-562
>                 URL: https://issues.apache.org/jira/browse/DBCP-562
>             Project: Commons DBCP
>          Issue Type: Bug
>    Affects Versions: 2.5.0, 2.7.0
>            Reporter: Frank Gasdorf
>            Priority: Critical
>              Labels: security
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> if a BasicDataSource is created with jmxName set, password property is 
> exposed/exported via jmx and is visible for everybody who is connected to jmx 
> port.
>  
> Expectation : Do not export it via BasicDataSourceMXBean Interface



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to