ss="block">Creates a new WebResourcePermission with name corresponding to the URLPatternSpec, and actions composed from the
 array of HTTP methods.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>urlPatternSpec</code> - the URLPatternSpec that identifies the application specific web resources to which the
 permission pertains. All URLPatterns in the URLPatternSpec are relative to the context path of the deployed web
 application module, and the same URLPattern must not occur more than once in a URLP