changeset 57657:ef3fe23cec5f

8213222: remove RMIConnectorServer.CREDENTIAL_TYPES Reviewed-by: dfuchs, alanb
author dtitov
date Wed, 15 Jan 2020 10:54:34 -0800
parents 786a4824dba3
children 53b6aad22933
files src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnectorServer.java
diffstat 1 files changed, 1 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnectorServer.java	Mon Dec 16 11:06:01 2019 +0100
+++ b/src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnectorServer.java	Wed Jan 15 10:54:34 2020 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -102,26 +102,6 @@
         "jmx.remote.rmi.server.socket.factory";
 
     /**
-     * Name of the attribute that specifies a list of class names acceptable
-     * as parameters to the {@link RMIServer#newClient(java.lang.Object) RMIServer.newClient()}
-     * remote method call.
-     * <p>
-     * This list of classes should correspond to the transitive closure of the
-     * credentials class (or classes) used by the installed {@linkplain JMXAuthenticator}
-     * associated with the {@linkplain RMIServer} implementation.
-     * <p>
-     * If the attribute is not set, or is null, then any class is
-     * deemed acceptable.
-     *
-     * @deprecated Use {@link #CREDENTIALS_FILTER_PATTERN} with a
-     * {@linkplain java.io.ObjectInputFilter.Config#createFilter
-     * filter pattern} string instead.
-     */
-    @Deprecated(since="10", forRemoval=true)
-    public static final String CREDENTIAL_TYPES =
-            "jmx.remote.rmi.server.credential.types";
-
-    /**
     * Name of the attribute that specifies an
     * {@link ObjectInputFilter} pattern string to filter classes acceptable
     * for {@link RMIServer#newClient(java.lang.Object) RMIServer.newClient()}