atus.VALID</code></a> a failure result is returned.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>result</code> - a CredentialValidationResult which is inspected for its status and from which the principal and groups 
 are taken.</dd>
<dt>Returns:</dt>
<dd><a href="../../../AuthenticationStatus.html#SUCCESS"><code>AuthenticationStatus.SUCCESS</code></a> if <a href="../../../identitystore/CredentialValidationResult.html#getStatus()"><code>CredentialValidationResult.getStatus()</code></a> 
 equals <