[
https://issues.apache.org/jira/browse/DERBY-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576243#action_12576243
]
Daniel John Debrunner commented on DERBY-3506:
----------------------------------------------
Having added some code to pass (jmx) user and password when getting a jmx
connection I discovered that it seems impossible to use the JMX password and
access files from a Java test. The issue is that the files have to be readable
only by the user (e.g. unix perms 600 or 400) and there's just no way to do
that from Java.
So a test that requires JMX authentication probably needs to use JAAS.
> Add JMX testing with a security manager and JMX authentication.
> ---------------------------------------------------------------
>
> Key: DERBY-3506
> URL: https://issues.apache.org/jira/browse/DERBY-3506
> Project: Derby
> Issue Type: Sub-task
> Components: JMX, Test
> Reporter: Daniel John Debrunner
> Assignee: Daniel John Debrunner
> Priority: Minor
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.