<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><base href="x-msg://59/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I think you may have hit this bug:</div><div><br></div><div><a href="https://issues.jboss.org/browse/GUVNOR-1976">https://issues.jboss.org/browse/GUVNOR-1976</a></div><div><br></div><div>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.</div><div><br></div><div>Steve</div><div><br></div><div><br></div><br><div><div>On 15 May 2013, at 09:27, Zahid Ahmed <<a href="mailto:zahid.ahmed@emirates.com">zahid.ahmed@emirates.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-GB" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Hi,<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">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 “This User has no permissions setup”. The Guvnor Manual is referring to jboss eap 5 and I am trying to do this on Jboss AS 7.1.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><i><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">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" style="color: purple; text-decoration: underline; ">http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html/ch14.html</a><span class="Apple-converted-space"> </span></span></i><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">. Is guvnor deployment targeted only for JBOSS EAP 5.0 ?<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span lang="EN-US" style="font-size: 14pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Environment:<o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>1.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Guvnor 5.5.0.Final<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>2.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">JBOSS AS 7.1.0<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span lang="EN-US" style="font-size: 14pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Files Configured</span></b><b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span class="Apple-converted-space"> </span>(<span style="background-color: yellow; background-position: initial initial; background-repeat: initial initial; ">Only these files I configured</span>):<o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>1.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Standalone.xml<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>2.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Guvnor.war/WEB-INF/beans.xml<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>3.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Created users using “add-user.sh”<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>4.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">standalone/configuration/application-users.properties (attached).<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>5.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">standalone/configuration/application-roles.properties (attached)<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>6.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">standalone/configuration/management-users.properties<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span lang="EN-US" style="font-size: 14pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Configurations<o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><u><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Standalone.xml :<o:p></o:p></span></u></b></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Only configured below tags. There’s nothing else I changed for the purpose of JAAS Authentication and Guvnor Authorization. Added<span class="Apple-converted-space"> </span></span><i><span style="font-size: 9pt; font-family: 'Courier New'; "><security-domain name="drools-guvnor" cache-type="default"></span></i><span style="font-size: 9pt; font-family: 'Courier New'; "><span class="Apple-converted-space"> </span>to check if “other” is not working.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security-domain name="other" cache-type="default"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <authentication><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <login-module code="Remoting" flag="optional"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="password-stacking" value="useFirstPass"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </login-module><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <login-module code="RealmUsersRoles" flag="required"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="usersProperties" value="${jboss.server.config.dir}/application-users.properties"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="rolesProperties" value="${jboss.server.config.dir}/application-roles.properties"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="realm" value="ApplicationRealm"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="password-stacking" value="useFirstPass"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </login-module><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </authentication><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security-domain><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security-domain name="drools-guvnor" cache-type="default"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <authentication><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="usersProperties" value="${jboss.server.config.dir}/application-users.properties"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="rolesProperties" value="${jboss.server.config.dir}/application-roles.properties"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="realm" value="ApplicationRealm"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <module-option name="password-stacking" value="useFirstPass"/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </login-module><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </authentication><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security-domain></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><u><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Drools-guvnor.war</span></u></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>1.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">beans.xml (Tried 4 different configs as suggested on community)<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>a.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Config 1 (</span></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Attached “Config1 beans.xml” and Config1 error.txt</span><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">) .<span class="Apple-converted-space"> </span></span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: red; ">Error “This User has no permission setup”.</span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:IdentityImpl><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <!-- JAAS based authentication --><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:authenticatorName>jaasAuthenticator</security:authenticatorName><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security:IdentityImpl><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:jaas.JaasAuthenticator><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <jaasConfigName>other</jaasConfigName><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security:jaas.JaasAuthenticator><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <!-- SECURITY AUTHORIZATION CONFIGURATION --><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <!--<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> This is used to enable or disable role-based authorization. By default it is disabled.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> --><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <guvnorSecurity:RoleBasedPermissionResolver><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <guvnorSecurity:enableRoleBasedAuthorization>true</guvnorSecurity:enableRoleBasedAuthorization><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </guvnorSecurity:RoleBasedPermissionResolver><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>b.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Config 2 (</span></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Attached “Config2 beans.xml” and Config2 error.txt</span><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">).<span class="Apple-converted-space"> </span></span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: red; ">Error<span class="Apple-converted-space"> </span></span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: red; ">“This User has no permission setup”.</span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:IdentityImpl><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <!-- JAAS based authentication --><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:authenticatorName>jaasAuthenticator</security:authenticatorName><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security:IdentityImpl><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:jaas.JaasAuthenticator><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 36pt; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "><security:jaasConfigName>drools-guvnor</security:jaasConfigName></span><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security:jaas.JaasAuthenticator><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <!-- SECURITY AUTHORIZATION CONFIGURATION --><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <!--<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> This is used to enable or disable role-based authorization. By default it is disabled.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> --><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <guvnorSecurity:RoleBasedPermissionResolver><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <guvnorSecurity:enableRoleBasedAuthorization>true</guvnorSecurity:enableRoleBasedAuthorization><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </guvnorSecurity:RoleBasedPermissionResolver><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -18pt; "><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span>c.<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span></span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Config 3 (</span></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Attached “Config3 beans.xml” and Config<span style="background-color: yellow; background-position: initial initial; background-repeat: initial initial; ">1</span><span class="Apple-converted-space"> </span>error.txt</span><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">).<span class="Apple-converted-space"> </span></span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: red; ">Error<span class="Apple-converted-space"> </span></span></b><b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">(Same error as of Config 1)</span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: red; ">“This User has no permission setup”.</span></b><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:IdentityImpl><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <!-- JAAS based authentication --><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:authenticatorName>jaasAuthenticator</security:authenticatorName><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security:IdentityImpl><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <security:jaas.JaasAuthenticator><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <jaasConfigName>other</jaasConfigName><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </security:jaas.JaasAuthenticator><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "><guvnorSecurity:RoleBasedPermissionResolver><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <guvnorSecurity:enableRoleBasedAuthorization>true</guvnorSecurity:enableRoleBasedAuthorization><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </guvnorSecurity:RoleBasedPermissionResolver><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "><component name="org.jboss.seam.security.roleBasedPermissionResolver"><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> <property name="enableRoleBasedAuthorization">true</property><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt 73.5pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "></component></span><b><span lang="EN-US" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></b></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><i><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; ">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: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "> <guvnorSecurity:RoleBasedPermissionResolver> is the only authorization config.</span><span style="font-size: 9pt; font-family: 'Courier New'; "><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "><component name="org.jboss.seam.security.roleBasedPermissionResolver">;<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "><o:p> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "> <s:modifies/><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "><o:p> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "> <property name="enableRoleBasedAuthorization">true</property><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "><o:p> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 9pt; font-family: 'Courier New'; background-color: yellow; background-position: initial initial; background-repeat: initial initial; "></component></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Kindly help me in this configuration. I can’t find a single authentic document for my environment.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Regards,<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Zahid<o:p></o:p></span></div></div></div><span><standalone.xml></span><span><Guvnor User Permission tab.png></span><span><application-roles.properties></span><span><application-users.properties></span><span><mgmt-users.properties></span><span><Config1 beans.xml></span><span><Config1 error.txt></span><span><Config2 beans.xml></span><span><Config2 error.txt></span><span><Config3 beans.xml></span><span><Config3 error.txt></span>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" style="color: purple; text-decoration: underline; ">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" style="color: purple; text-decoration: underline; ">https://lists.jboss.org/mailman/listinfo/rules-users</a></div></blockquote></div><br></body></html>