[rules-users] Guvnor role based authentication with JBossAS 7

Cristiano Gavião cvgaviao at gmail.com
Wed Dec 21 18:43:38 EST 2011


Hi,

I've downloaded the JBPM  installer 5.2.Final.  It is running ok.

I'm trying do enable role based authentication for Guvnor and I'm not 
having success.

So, I found some links at google and I follow this:

1) modified the standalone.xml:
> <security-domain name="other" cache-type="default">
> <authentication>
> <login-module code="UsersRoles" flag="required">
> <module-option name="usersProperties" value="guvnor-users.properties"/>
> <module-option name="rolesProperties" value="guvnor-roles.properties"/>
> </login-module>
> </authentication>
> </security-domain>

2) unzip the drools-guvnor.war to drools-guvnor dir and removed the war

- enabled the jaas
> <security:identity authenticate-method="#{authenticator.authenticate}"
>         jaas-config-name="other"/>

- and set role based to true
> <component name="org.jboss.seam.security.roleBasedPermissionResolver">
> <property name="enableRoleBasedAuthorization">true</property>
> </component>

3) created the guvnor-roles.properties and guvnor-users.properties files 
at <Guvnor>/WEB-INF/classes


Strangely, there is no error in main log... at least I couldn't find 
any. It seems to be ok because at the Jboss Admin Console page all is 
running green.

> 0:09:11,152 INFO  [org.jboss.as.server.controller] 
> (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console.war"
> 20:09:11,152 INFO  [org.jboss.as.server.controller] 
> (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console-server.war"
> 20:09:11,170 INFO  [org.jboss.as.server.controller] 
> (DeploymentScanner-threads - 2) Deployed "drools-guvnor"
> 20:09:11,171 INFO  [org.jboss.as.server.controller] 
> (DeploymentScanner-threads - 2) Deployed "designer.war"

But I'm getting 404 (The requested resource (/drools-guvnor/) is not 
available.) when trying to reach guvnor address 
http://localhost:8080/drools-guvnor/

:(

What am I missing ? could anyone help me?

thanks

Cristiano



More information about the rules-users mailing list