om/en/java/javase/11/docs/api/java.base/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang" class="externalLink">SecurityException</a></code> - If a <code>java.lang.SecurityManger</code>
          is being used and the application doesn't have the
          <code>WebServicePermission("publishEndpoint")</code> permission.</dd>
</dl>
</li>
</ul>
<a id="publish(jakarta.xml.ws.spi.http.HttpContext)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>publish