api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&gt;&nbsp;groups)</span></div>
<div class="block">Asks the runtime to register an authentication session. This will automatically remember the logged-in status
 as long as the current HTTP session remains valid. Without this being asked, a <a href="HttpAuthenticationMechanism.html" title="interface in jakarta.security.enterprise.authentication.mechanism.http"><code>HttpAuthenticationMechanism</code><