bsp;name,
 <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;actions)</span></div>
<div class="block">Creates a new WebResourcePermission with the specified name and actions.

 <p>
 The name contains a URLPatternSpec that identifies the web resources to which the permissions applies. The syntax of
 a URLPatternSpec is as follows:

 <pre>

          URLPatternList ::= URLPattern | URLPatte