Hi. I created a custom LoginModule and I need to call a remote service from it to do some
security validations. The problem is that, like other EJB clients, I published the EJB
remote interface to the jar where my LoginModule is packaged (using Maven assembly
plugin). The lookup on the LoginModule works fine, but I get a ClassCastException when
calling PortableRemoteObject.narrow(ref, clazz).
I tested the same source code that does the lookup from a simple Java client and worked
fine. The service is running ok too. Am I missing something?
Thanks for your time.
Fábio.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198925#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...