My application uses a Java Client and I extend ClientLoginModule for client login. On the server I extend AbstractServerLoginModule. Everything is working fine except for my MessageDriven beans. When the create method is called on the bean it attempts to run my modified login module and as the callback objects no longer exist it fails with a principal = null.
I think I should be using the DynamicLoginModule but I have found no example of how to use this.
What files do I need to modify so that the DynamicLoginModule is used for these beans. If anyone knows of example source somewhere I would appreciate the help.