Do not use javax.security.auth.Policy class

The javax.security.auth.Policy class is not available in Java SE 11. Replace the javax.security.auth.Policy class with java.security.Policy.

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.