How can a JACC provider use the Principal-to-role mapping facilities of the server it’s deployed on?
The short answer is: there’s no standard way to do it. Although Glassfish and JBoss support principal-to-role mappings, JACC does no assume all containers do, and so it delegates the responsibility of keeping those mappings to the JACC provider implementation. From the docs (see: PolicyConfiguration.addToRole method): It is the job of the Policy provider to … Read more