I'm trying to pass in two additional fields along with the username and password during login. My thought was to extend the DatabaseServerLoginModule to use a TextInputCallback. I also extended the SecurityAssociationHandler to handle the case of a TextInputCallback, but my problem is how do I get the values from the two additional fields to set the text of the TexInputCallbacks. JBoss doesn't seem to implement support for TextInputCallbacks. Am I going about this wrong? Any help or ideas would be welcome. Thanks.