I have a custom authentication module that extends the JBoss DatabaseServerLoginModule (org.jboss.security.auth.spi.DatabaseServerLoginModule) that provides stuff like counting of failed logins. When loging in from a remote desktop client using LoginContext.login() the 'login' method of my custom authentication module is called. This works fine. But when loging out using LoginContext.logout() the 'logout' method of my authentication module is never called.
Is there something special that I have to consider or is this a bug?