ss="external-link">Principal</a></span>&nbsp;<span class="element-name">getCallerPrincipal</span>()</div>
<div class="block">Gets the Principal set by a call to notifyContainerAboutLogin().</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The caller principal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getGroups()">
<h3>getGroups</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class o