Customized version of the standard JBoss database login module which adds more user information into the Subject.
PassiveCallbackHandler has constructor that takes a username and password so its handle() method does not have to prompt the user for input.
Principal which maintains some extra info about the currently logged in user on top of what JBoss normally has (which is only their user name).
Login module and custom UserPrincipal implementation which allows us to supply additional types of information via the security management API, obviating the need for added accesses to the user store. This extends the JBoss supplied RDBMSLoginModule.