This rule flags references to the RMIConnectorServer.CREDENTIAL_TYPES
constant and jmx.remote.rmi.server.credential.types string literal. The
RMIConnectorServer.CREDENTIAL_TYPES constant was removed in Java SE 15.
The constant can be replaced with the RMIConnectorServer.CREDENTIALS_FILTER_PATTERN
constant and a filter pattern.
This rule has an automated fix. Copy the custom configuration to your application build file to enable it.
For more information on these changes, see Removed Features and Options in Java SE 15.