Using a LoginInitialContextFactory to connect to JBoss from a swing client. All the attributes seem to be configures. I connect to the server and see the logging from the DatabaseServerLoginModule. However, It seems that the username is a zero (0) length String() by the time it gets to the getPassword() method in the DatabaseServerLoginModule. Why would this be?
Never mind... I though I had commented out the password-stacking="useFirstPass" line but I really didn't