Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In my case, three specific Drools changes were required to get Drools Guvnor 5.5.0.Final working with JBoss EAP 6 (which is based on AS 7.1 and should translate to AS 7.2): fix the XML, replace seam-security, and patch a Guvnor file.</p> <p>In beans.xml, the <code>jaasConfigName</code> tag specifies no namespace and causes an error. Fix this by changing <code>jaasConfigName</code> to <code>security:jaasConfigName</code>.</p> <pre class="lang-xml prettyprint-override"><code>&lt;security:jaas.JaasAuthenticator&gt; &lt;s:modifies/&gt; &lt;!-- The following one will use the jaas configuration called "other", which in jboss AS means you can use properties files for users. --&gt; &lt;security:jaasConfigName&gt;other&lt;/security:jaasConfigName&gt; &lt;/security:jaas.JaasAuthenticator&gt; </code></pre> <p>The version of Seam Security used by Guvnor contains a bug. To fix this, modify the Guvnor WAR: replace <code>seam-security-3.1.0.Final.jar</code> with <code>seam-security-3.2.0.Final.jar</code> and <code>seam-security-api-3.1.0.Final.jar</code> with <code>seam-security-api-3.2.0.Final.jar</code>.</p> <p>Guvnor's SecurityServiceImpl class contains a bug. To fix this, patch and recompile the class as per <a href="http://drools.46999.n3.nabble.com/How-configure-Guvnor-5-4-JAAS-with-jboss-7-0-2-tp4020424p4020854.html" rel="nofollow">http://drools.46999.n3.nabble.com/How-configure-Guvnor-5-4-JAAS-with-jboss-7-0-2-tp4020424p4020854.html</a></p> <p>Note that the Seam Security and SecurityServiceImpl bugs have been resolved on the Guvnor 5.5.x branch on GitHub (<a href="https://github.com/droolsjbpm/guvnor/tree/5.5.x" rel="nofollow">https://github.com/droolsjbpm/guvnor/tree/5.5.x</a>), so the easiest solution for those problems might be to download and build the latest version. (That's what I did.)</p> <p>With these changes in place, both authentication and role-base authorization should work. In my test environment I demonstrated package-restricted developer access.</p> <p>See <a href="https://community.jboss.org/thread/206645" rel="nofollow">https://community.jboss.org/thread/206645</a>, <a href="https://issues.jboss.org/browse/GUVNOR-1989" rel="nofollow">https://issues.jboss.org/browse/GUVNOR-1989</a>, <a href="https://issues.jboss.org/browse/GUVNOR-1976" rel="nofollow">https://issues.jboss.org/browse/GUVNOR-1976</a>, <a href="http://drools.46999.n3.nabble.com/How-configure-Guvnor-5-4-JAAS-with-jboss-7-0-2-td4020424.html" rel="nofollow">http://drools.46999.n3.nabble.com/How-configure-Guvnor-5-4-JAAS-with-jboss-7-0-2-td4020424.html</a>, and <a href="http://drools.46999.n3.nabble.com/rules-users-Error-JAAS-Authentication-with-Guvnor-5-5-0-and-Authorization-Error-tt4023826.html" rel="nofollow">http://drools.46999.n3.nabble.com/rules-users-Error-JAAS-Authentication-with-Guvnor-5-5-0-and-Authorization-Error-tt4023826.html</a> for background info.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload