<font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">I am trying to enable the Role Base
Authorization in Guvnor after it was running</font>
<br><font size=2 face="sans-serif">fine with the default login mechanism.</font>
<br><font size=2 face="sans-serif">But, encountered some problem with the
attempt.</font>
<br><font size=2 face="sans-serif">I followed given steps:</font>
<br>
<br>
<br><font size=2 face="sans-serif">Step 1:</font>
<br><font size=2 face="sans-serif">I exploded guvnor-5.2.0.Final-jboss-as-5.1.war
file, got guvnor-5.2.0.Final-jboss-as-5.1 folder, </font>
<br><font size=2 face="sans-serif">in this I located component.xml(guvnor-5.2.0.Final-jboss-as-5.1/WEB-INF/)</font>
<br>
<br><font size=2 face="sans-serif">What I did was that in the components.xml,</font>
<br><font size=2 face="sans-serif">- commented out the default <security:identity</font>
<br><font size=2 face="sans-serif">authenticate-method="#{defaultAuthenticator.authenticate}"/></font>
<br><font size=2 face="sans-serif">- uncomment the <security:identity</font>
<br><font size=2 face="sans-serif">authenticate-method="#{authenticator.authenticate}"</font>
<br><font size=2 face="sans-serif">jaas-config-name="other"/></font>
<br><font size=2 face="sans-serif">- change the role base authorization
to true,</font>
<br><font size=2 face="sans-serif"><security:role-based-permission-resolver</font>
<br><font size=2 face="sans-serif">enable-role-based-authorization="true"/></font>
<br>
<br>
<br><font size=2 face="sans-serif">Step 2:</font>
<br><font size=2 face="sans-serif">And at the login-config.xml from jboss-5.0.0.GA/server/default/conf/</font>
<br>
<br><font size=2 face="sans-serif">I have changed the "other"
application policy to</font>
<br><font size=2 face="sans-serif"> <application-policy
name = "other"></font>
<br><font size=2 face="sans-serif"> <authentication></font>
<br><font size=2 face="sans-serif"> <login-module
code =</font>
<br><font size=2 face="sans-serif">"org.jboss.security.auth.spi.UsersRolesLoginModule"</font>
<br><font size=2 face="sans-serif">
flag = "required" ></font>
<br><font size=2 face="sans-serif"> <module-option</font>
<br><font size=2 face="sans-serif">name="usersProperties">props/guvnor-users.properties</module-option></font>
<br><font size=2 face="sans-serif"> <module-option</font>
<br><font size=2 face="sans-serif">name="rolesProperties">props/guvnor-roles.properties</module-option></font>
<br><font size=2 face="sans-serif"> </login-module></font>
<br><font size=2 face="sans-serif"> </authentication></font>
<br><font size=2 face="sans-serif"> </application-policy></font>
<br>
<br>
<br><font size=2 face="sans-serif">guvnor-users.properties</font>
<br><font size=2 face="sans-serif">admin=admin123</font>
<br>
<br><font size=2 face="sans-serif">guvnor-roles.properties</font>
<br><font size=2 face="sans-serif">admin=admin</font>
<br>
<br>
<br><font size=2 face="sans-serif">Step 3:</font>
<br><font size=2 face="sans-serif">At last I created new guvnor-5.2.0.Final-jboss-as-5.1.war
file from guvnor-5.2.0.Final-jboss-as-5.1 folder and deployed the updated
war file into boss-5.0.0.GA/server/default/deploy</font>
<br>
<br><font size=2 face="sans-serif">At last I am unable to login into BRMS,</font>
<br><font size=2 face="sans-serif">I got following error message in Browser,</font>
<br>
<br><font size=2 face="sans-serif"><b>HTTP Status 404 - /guvnor-5.2.0.Final-jboss-as-5.1/</b></font>
<br>
<br><font size=2 face="sans-serif"><b>type Status report</b></font>
<br>
<br><font size=2 face="sans-serif"><b>message /guvnor-5.2.0.Final-jboss-as-5.1/</b></font>
<br>
<br><font size=2 face="sans-serif"><b>description The requested resource
(/guvnor-5.2.0.Final-jboss-as-5.1/) is not available.</b></font>
<br><font size=2 face="sans-serif"><b>JBoss Web/2.1.1.GA</b></font>
<br>
<br><font size=2 face="sans-serif">Please guide me any one.</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks and regards<br>
Manohar Kokkula<br>
Mailto: manohar.kokkula@tcs.com<br>
</font><pre style="white-space:normal">=====-----=====-----=====<br>Notice: The information contained in this e-mail<br>message and/or attachments to it may contain <br>confidential or privileged information. If you are <br>not the intended recipient, any dissemination, use, <br>review, distribution, printing or copying of the <br>information contained in this e-mail message <br>and/or attachments to it are strictly prohibited. If <br>you have received this communication in error, <br>please notify us by reply e-mail or telephone and <br>immediately and permanently delete the message <br>and any attachments. Thank you<br><br><br></pre>