My problem is pretty straight forward, I need to use my custom Jaas policy class with JBoss in order to make security checks. For now I have tried to set it programmatically like so :
final DatabaseDrivenPolicy databasePolicy = new DatabaseDrivenPolicy();
And for now it simply seems to be ignored by JBoss, but when I run the same code in a simple java application with a main method or in unit tests, it works perfectly and produces the desired effect. Can anyone point me in the right direction, config file or whatever I seem to be missing ?