I found this article about creating a custom callback handler for database login in JBoss AS 7
https://community.jboss.org/wiki/JBossAS7RemoteEJBAuthenticationHowto#comment-11396
What do I have to do for letting the server know to use the CustomCallback handler?
on client side I do this by adding the coresponding parameter in the jboss-ejb-client.properties file.
Thanks in advance