>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - in case the method is invoked from a response filter.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSecurityContext()">
<h3>getSecurityContext</h3>
<div class="member-signature"><span class="return-type"><a href="../core/SecurityContext.html" title="interface 