I can't manage to make a custom principal mapping module work; it seems that JBoss is not executing the code at all, because I can't seen any module log messages. I have tried in JBoss EAP 6.2 and 6.3 alpha. When trying with a custom roles mapping module, it works fine, and there are logs messages too.
I don't know if there is a bug in JBoss, or maybe I am misconfiguring something. I couldn't find a guide to develop a custom mapping module, so I do it looking at others mapping modules codes.
Any help is appreciated. Thanks very much.
No luck about this topic. Just in case that somebody faces the same problem, a workaround is to develop a custom login module (extending the one that was supposed to be used), and make the mapping there (add roles, change principals, or whatever).