JBoss JAAS custom Login Module
问题 I'm trying to use a custom JAAS authentication module for a web based application hosted on JBoss 5.1.0.GA . So everything seems to be working fine, until the number of users increases and sessions (so it think) start getting mixed. The reason i'm using the custom JAAS is because of a custom authentication backend and the need to pass back the password for futher usage in the application. When i call request.getUserPrincipal in servlets i get an object of type SimplePrincipal instead on my