0 Replies Latest reply on Mar 7, 2011 10:01 AM by spacemojo

    JAAS custom policy class in JBoss 6

    spacemojo Newbie

      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 ?