Does anybody know what the following exception means and why I would get it. I am experimenting with JBoss and JAAS and its thrown during a Subject.doAs(....) call.
Any help would be really appreciated.
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