The javax.security.auth.Policy class is not available in Java SE 11.
Replace the javax.security.auth.Policy class with java.security.Policy.
This rule has an automated fix. Copy the custom configuration to your application build file to enable the fix automation.
More functionality was added in the updated java.security.Policy class.
For more information on migrating to the java.security.Policy class, see the improvements at
Javadoc.
For more information on the removed javax.security.auth.Policy class, see the
Javadoc.
For more information on changes in JDK 11, see
Removed APIs in JDK 11.