You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/05 10:07:00 UTC
[jira] [Commented] (KARAF-6888) Sort out JMXMP authentication
[ https://issues.apache.org/jira/browse/KARAF-6888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295931#comment-17295931 ]
ASF subversion and git services commented on KARAF-6888:
--------------------------------------------------------
Commit c381d09320bd697835a0a09e9fb24122d2367b3b in karaf's branch refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=c381d09 ]
Merge pull request #1232 from mattrpav/KARAF-6888
[KARAF-6888] JMXMP clean-ups
> Sort out JMXMP authentication
> -----------------------------
>
> Key: KARAF-6888
> URL: https://issues.apache.org/jira/browse/KARAF-6888
> Project: Karaf
> Issue Type: Improvement
> Components: karaf
> Affects Versions: 4.2.9
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Attachments: ConnectorServerFactory.java, JMXMPClient.java, JaasAuthenticator.java, PlainSaslServer.java, jre.properties, karaf, org.apache.karaf.management.server-4.2.9.jar
>
>
> Out-of-the-box, karaf's jmxmp support doesn't seem to have a happy path. With the following changes, I'm able to get a list of JMX domains.
> Notes:
> 1. Probably need to support SASL/PLAIN to keep it simple to start, then add TLS
> 2. JDK's don't ship with a SASL/PLAIN Provider anymore, so we need the attached one is adapted from Apache Hive's implementation
> 3. The jmxmp classes and sasl modules need to be added to karaf startup and etc/jre.properties
> 4. Need to solve for a ClassNotFound error for legacy com/sun/jdmk/security/sasl/AuthenticateCallback that is not included in the jmxmp jar in the JaasAuthenticator.
> 5. -Consider using the javax.management jar instead (as src jars are available for debugging)-
> {noformat}
> <dependency>
> <groupId>javax.management</groupId>
> <artifactId>jmx-remote-optional-jmxmp</artifactId>
> <version>1.0-b06</version>
> </dependency>
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)