As fas as the documentation went I thought this was impossible, but after a search though config files and source code I found out how to do this.
I've added a page to the wiki:
http://www.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig
(.. somebody is bound to tell me that it was obvious)
C