0 Replies Latest reply on Feb 24, 2003 12:44 PM by Agapios Katsimbris

    Subject -based policy instantiation

    Agapios Katsimbris Newbie

      Does anybody know how a policy gets instantiated. I've just started experimenting with JBoss/JAAS security and I get the following exception:

      java.lang.SecurityException: unable to instantiate Subject-based policy
      at javax.security.auth.Policy.getPolicyNoCheck(Policy.java:241)
      at javax.security.auth.Policy.getPolicy(Policy.java:198)
      at javax.security.auth.SubjectDomainCombiner.(SubjectDomainCombiner.java:72)
      at javax.security.auth.Subject$2.run(Subject.java:515)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.createContext(Subject.java:508)
      at javax.security.auth.Subject.doAs(Subject.java:319)
      at