[rules-users] Guvnor User Authentication

apatel apatel at ondeckcapital.com
Tue Sep 21 10:56:34 EDT 2010


Hi, 

I have sucessfully setup Guvnor and created rules, but now I want to setup
user authentication. I have taken the following step to enable it: 

(1) added the following to component.xml 
<security:identity authenticate-method="#{Authenticator.authenticate}"
jaas-config-name="guvnor" /> 

and commented out: 
<security:identity
authenticate-method="#{defaultAuthenticator.authenticate}"/ > 

(2) added the following to $JBOSS_SERVER/conf/login-config.xml: 
<application-policy name = "guvnor">     
    <authentication>         
       <login-module
code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required">         
       	<module-option
name="usersProperties">users.properties</module-option>         
       	<module-option
name="rolesProperties">roles.properties</module-option>         
       </login-module>     
    </authentication>   
    </application-policy> 

(3) added users.properties and roles.properties to
$JBOSS_SERVER/conf/login-config.xml 

The admin user defined in the properties has admin, manager, and user roles
assigned to it, but when i login with that user in Guvnor none of the
Packages are available to view and no new ones can be created. Futhermore,
when I navigate to Adminstration -> User permission none of the user that I
created are able to access this page. The message states "TIP: To enable or
disable authorization, open components.xml in WEB-INF". 

Have I missed a step? Any help is much appreciated. 

Regards, 
Amisha 

-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-User-Authentication-tp1555257p1555257.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list