tus.VALID</code></a> a failure result is returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>result</code> - a CredentialValidationResult which is inspected for its status and from which the principal and groups 
 are taken.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../../../../../jakarta/security/enterprise/AuthenticationStatus.html#SUCCESS"><code>AuthenticationStatus.SUCCESS</code></a> if <a href="../../../../../../jakarta/security/enterprise/i