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.
For more information on these changes, see Removed Features and Options in Java SE 15.