<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<base href="x-msg://59/"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1476139784;
        mso-list-type:hybrid;
        mso-list-template-ids:-2143399012 134807567 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Steve,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for replying promptly. I have fixed this issue by replacing the following jars in guvnor.war. I debugged the guvnor code and found out that username
 is null in org.jboss.seam.security.IdentityImpl..activeAuthenticator. This is a &nbsp;JAAS Authenticator in which user is coming null. I found it out in IdentityImpl.postAuthenticate() method.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">seam-security-3.1.0.Final.jar with &nbsp;seam-security-3.2.0.Final.jar
<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">and
<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">seam-security-api-3.1.0.Final.jar with &nbsp;seam-security-api-3.2.0.Final.jar &nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It worked with all the below configurations. I have created a number of users and they are getting authenticated. But, all the users are logged in with admin
 rights. I have two users which have &#8220;package.developer&#8221; rights but still those users can update any process in other packages. Even those users can update their own user permissions.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Zahid Ahmed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b>On Behalf Of </b>Stephen Masters<br>
<b>Sent:</b> 15 May 2013 13:01<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] Error : JAAS Authentication with Guvnor 5.5.0 and Authorization Error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">I think you may have hit this bug:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://issues.jboss.org/browse/GUVNOR-1976">https://issues.jboss.org/browse/GUVNOR-1976</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">I think it might be a duplicate of another, which I cant find. At root that was a Seam JAAS bug (5.5 introduced Guvnor to Seam 3), which prevented it from creating a security context. I'm not sure whether any solution was established though.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Steve<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">On 15 May 2013, at 09:27, Zahid Ahmed &lt;<a href="mailto:zahid.ahmed@emirates.com">zahid.ahmed@emirates.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I have run into a set of errors configuring JAAS Authentication for Guvnor. I have searched a lot on jboss community and for all the solutions
 nothing is working for me. I am getting either the login popup or I am getting &#8220;This User has no permissions setup&#8221;. The Guvnor Manual is referring to jboss eap 5 and I am trying to do this on Jboss AS 7.1.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Note : I am unable to find login-config.xml file mentioned in the following link.<a href="http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html/ch14.html"><span style="color:purple">http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html/ch14.html</span></a><span class="apple-converted-space">&nbsp;</span></span></i><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">.
 Is guvnor deployment targeted only for JBOSS EAP 5.0 ?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:14.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Environment:</span></b><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">1.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Guvnor
 5.5.0.Final</span><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">2.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">JBOSS
 AS 7.1.0</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:14.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Files Configured</span></b><span class="apple-converted-space"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></b></span><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(<span style="background:yellow">Only
 these files I configured</span>):</span></b><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">1.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Standalone.xml</span><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">2.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Guvnor.war/WEB-INF/beans.xml</span><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">3.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Created
 users using &#8220;add-user.sh&#8221;</span><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">4.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">standalone/configuration/application-users.properties
 (attached).</span><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">5.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">standalone/configuration/application-roles.properties
 (attached)</span><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">6.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">standalone/configuration/management-users.properties</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:14.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Configurations</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><u><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Standalone.xml :</span></u></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Only configured below tags. There&#8217;s nothing else I changed for the purpose of JAAS Authentication and Guvnor Authorization. Added<span class="apple-converted-space">&nbsp;</span></span><i><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&lt;security-domain
 name=&quot;drools-guvnor&quot; cache-type=&quot;default&quot;&gt;</span></i><span class="apple-converted-space"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span></span><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">to check if &#8220;other&#8221; is not working.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;security-domain name=&quot;other&quot; cache-type=&quot;default&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;authentication&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;login-module code=&quot;Remoting&quot; flag=&quot;optional&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;password-stacking&quot; value=&quot;useFirstPass&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/login-module&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;login-module code=&quot;RealmUsersRoles&quot; flag=&quot;required&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;usersProperties&quot; value=&quot;${jboss.server.config.dir}/application-users.properties&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;rolesProperties&quot; value=&quot;${jboss.server.config.dir}/application-roles.properties&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;realm&quot; value=&quot;ApplicationRealm&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;password-stacking&quot; value=&quot;useFirstPass&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/login-module&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/authentication&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/security-domain&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;security-domain name=&quot;drools-guvnor&quot; cache-type=&quot;default&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&lt;authentication&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;login-module code=&quot;org.jboss.security.auth.spi.UsersRolesLoginModule&quot; flag=&quot;required&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;usersProperties&quot; value=&quot;${jboss.server.config.dir}/application-users.properties&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;rolesProperties&quot; value=&quot;${jboss.server.config.dir}/application-roles.properties&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;realm&quot; value=&quot;ApplicationRealm&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;module-option name=&quot;password-stacking&quot; value=&quot;useFirstPass&quot;/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/login-module&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/authentication&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/security-domain&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><u><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Drools-guvnor.war</span></u></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">.</span><o:p></o:p></p>
</div>
<div style="margin-left:36.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">1.</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">beans.xml
 (Tried 4 different configs as suggested on community)</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">a.</span></b><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Config
 1 (</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Attached &#8220;Config1 beans.xml&#8221; and Config1 error.txt</span><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">) .<span class="apple-converted-space">&nbsp;</span></span></b><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:red">Error
 &#8220;This User has no permission setup&#8221;.</span></b><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;security:IdentityImpl&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;!-- JAAS based authentication --&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;security:authenticatorName&gt;jaasAuthenticator&lt;/security:authenticatorName&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&lt;/security:IdentityImpl&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;security:jaas.JaasAuthenticator&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;jaasConfigName&gt;other&lt;/jaasConfigName&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;/security:jaas.JaasAuthenticator&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;!-- SECURITY AUTHORIZATION CONFIGURATION --&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;!--</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is used to enable or disable role-based authorization. By default it is disabled.</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; --&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&lt;guvnorSecurity:RoleBasedPermissionResolver&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;guvnorSecurity:enableRoleBasedAuthorization&gt;true&lt;/guvnorSecurity:enableRoleBasedAuthorization&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;/guvnorSecurity:RoleBasedPermissionResolver&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">b.</span></b><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Config
 2 (</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Attached &#8220;Config2 beans.xml&#8221; and Config2 error.txt</span><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">).<span class="apple-converted-space">&nbsp;</span></span></b><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:red">Error<span class="apple-converted-space">&nbsp;</span></span></b><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></b><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:red">&#8220;This
 User has no permission setup&#8221;.</span></b><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&lt;security:IdentityImpl&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;!-- JAAS based authentication --&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;security:authenticatorName&gt;jaasAuthenticator&lt;/security:authenticatorName&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&lt;/security:IdentityImpl&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;security:jaas.JaasAuthenticator&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&lt;security:jaasConfigName&gt;drools-guvnor&lt;/security:jaasConfigName&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;/security:jaas.JaasAuthenticator&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;!-- SECURITY AUTHORIZATION CONFIGURATION --&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;!--</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is used to enable or disable role-based authorization. By default it is disabled.</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; --&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&lt;guvnorSecurity:RoleBasedPermissionResolver&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;guvnorSecurity:enableRoleBasedAuthorization&gt;true&lt;/guvnorSecurity:enableRoleBasedAuthorization&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;/guvnorSecurity:RoleBasedPermissionResolver&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal" style="text-indent:-18.0pt"><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">c.</span></b><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="apple-converted-space">&nbsp;</span></span><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Config
 3 (</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Attached &#8220;Config3 beans.xml&#8221; and Config<span style="background:yellow">1</span><span class="apple-converted-space">&nbsp;</span>error.txt</span><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">).<span class="apple-converted-space">&nbsp;</span></span></b><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:red">Error<span class="apple-converted-space">&nbsp;</span></span></b><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(Same
 error as of Config 1)</span></b><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></b><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:red">&#8220;This User has no permission setup&#8221;.</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;security:IdentityImpl&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;!-- JAAS based authentication --&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;security:authenticatorName&gt;jaasAuthenticator&lt;/security:authenticatorName&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&lt;/security:IdentityImpl&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;security:jaas.JaasAuthenticator&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;jaasConfigName&gt;other&lt;/jaasConfigName&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:72.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;/security:jaas.JaasAuthenticator&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&lt;guvnorSecurity:RoleBasedPermissionResolver&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &lt;guvnorSecurity:enableRoleBasedAuthorization&gt;true&lt;/guvnorSecurity:enableRoleBasedAuthorization&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;/guvnorSecurity:RoleBasedPermissionResolver&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&lt;component name=&quot;org.jboss.seam.security.roleBasedPermissionResolver&quot;&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp; &lt;property name=&quot;enableRoleBasedAuthorization&quot;&gt;true&lt;/property&gt;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div style="margin-left:73.5pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&lt;/component&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><i><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">I HAVE ALSO ADDED THIS COMPONENT TAG found every where on forums to resolve this issue. I tried Tried without this also but at that time I get LOGIN screen
 which always says Incorrect User/Password.Is this required or</span></i></b><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&nbsp;&nbsp;&lt;guvnorSecurity:RoleBasedPermissionResolver&gt; is the only authorization config.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&lt;component name=&quot;org.jboss.seam.security.roleBasedPermissionResolver&quot;&gt;;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&nbsp; &lt;s:modifies/&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&nbsp; &lt;property name=&quot;enableRoleBasedAuthorization&quot;&gt;true&lt;/property&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;background:yellow">&lt;/component&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Kindly help me in this configuration. I can&#8217;t find a single authentic document for my environment.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Zahid</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">&lt;standalone.xml&gt;&lt;Guvnor User Permission tab.png&gt;&lt;application-roles.properties&gt;&lt;application-users.properties&gt;&lt;mgmt-users.properties&gt;&lt;Config1 beans.xml&gt;&lt;Config1 error.txt&gt;&lt;Config2
 beans.xml&gt;&lt;Config2 error.txt&gt;&lt;Config3 beans.xml&gt;&lt;Config3 error.txt&gt;_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org"><span style="color:purple">rules-users@lists.jboss.org</span></a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users"><span style="color:purple">https://lists.jboss.org/mailman/listinfo/rules-users</span></a><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>