e><a href="HttpAuthenticationMechanism.html#cleanSubject(jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse,jakarta.security.enterprise.authentication.mechanism.http.HttpMessageContext)">HttpAuthenticationMechanism</a></code></span></div>
<div class="block">Remove mechanism specific principals and credentials from the subject and any other state the mechanism
 might have used.
 
 <p>
 This method is called in response to <code>HttpServletRequest.logout()</code> and gives the au