title: Retrieve number of open sessions from ServletContainer or ApplicationServer
body: <p>I need to know the number of active sessions of a logged in user. Via the <code>HttpServletRequest</code> I can retrieve the current logged in principal -> <code>getUserPrincipal()</code>. Is there a way to query for the number of active sessions of that principal? </p>