Version 1

         By reading the source code,I found that ,JACCValve registers Handler named "javax.security.auth.Subject.container" in PolicyContext. The handler is used to return Subject enclosed principals by org.uberfire.security.server.auth.JACCAuthenticationScheme calling function "getContext".JACCAuthenticationScheme is setted in web.xml.

         To install jbpm6.0 to other web container such as jetty,no valve supports.So i try to create a filter in web.xml to do the same things in JACCValve ,just registers Handler named "javax.security.auth.Subject.container" in PolicyContext, and filter every httprequest,to set the ThreadLocal used in function "getContext".