JAAS CustomLoginModule not called for second location a user logs in
问题 We implemented a CustomLoginModule extends UsernamePasswordLoginModule for JAAS in JBoss EAP 6.2. The login module contains functionality that needs to be handled every login and it appears that for some logins, the CustomLoginModule is not called. We notice that when a user logs in at two separate locations, the second login never enters the CustomLoginModule methods: initialize, login, logout, getRoleSets, getUsersPassword, createPasswordHash, validatePassword . It seems like the logged in