DelegatingPolicy

DelegatingPolicy - a JAAS based Policy implementation

A JAAC Policy provider implementation that delegates any non-JACC permissions to the java.security.Policy either passed in to the ctor, or the pre existing Policy.getPolicy value. It derives its JACC permissions from the authenticated Subject roles and so is backward compatible with the legacy JAAS LoginModule based declarative security.

The org.jboss.security.jacc.DelegatingPolicy can be configured using an xmbean deployment like: