Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Fixes #21882 deserialization flaw (#21884)
Browse files Browse the repository at this point in the history
  • Loading branch information
mukumawa authored and yaminikb committed Jun 22, 2017
1 parent c5be336 commit c925e32
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

package org.glassfish.admin.mbeanserver;

import org.glassfish.grizzly.config.dom.Ssl;
import org.glassfish.hk2.api.ServiceLocator;

import javax.management.MBeanServer;
Expand Down Expand Up @@ -120,6 +119,10 @@ private JMXConnectorServer startJMXMPConnectorServer(final int port)
final Map<String, Object> env = new HashMap<String, Object>();
env.put("jmx.remote.protocol.provider.pkgs", "com.sun.jmx.remote.protocol");
env.put("jmx.remote.protocol.provider.class.loader", this.getClass().getClassLoader());
env.put("jmx.remote.rmi.server.credential.types", new String[] {
String[].class.getName(),
String.class.getName() });

JMXAuthenticator authenticator = getAccessController();
if (authenticator != null)
{
Expand Down

0 comments on commit c925e32

Please sign in to comment.