Version 1

         By reading the source code,I found that ,JACCValve registers Handler named "" in PolicyContext. The handler is used to return Subject enclosed principals by 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 "" in PolicyContext, and filter every httprequest,to set the ThreadLocal used in function "getContext".