When developing your implementation of LoginModule, note that the data server and display server's built-in CallbackHandler currently recognizes only the NameCallback and PasswordCallback.
See
Example: Implementing LoginModule for a sample implementation of LoginModule, which you can also find under samples\dashboard_studio\tutorial\src in your Apama installation.