[rules-users] role based authentication in tomcat

Jaroslaw Kijanowski kijanowski at gmail.com
Wed Jul 15 03:48:44 EDT 2009


Hi,
  so far you have just created a name for your jaas configuration, 
called "brms". If you would use JBoss AS, you would need to create a 
jaas config in server/default/conf/login-config.xml. Details are here:
http://blog.athico.com/2008/08/tuning-guvnor.html

Keep in mind that you use JAAS only for *authentication*. Authorization 
is set in Guvnor (Administration tab).
Before you start, you also need to create an account in Guvnor that has 
admin rights, otherwise you will be able to login (authentication via 
JAAS) but nothing more (authorization via Guvnor).

Cheers,
  Jarek


VÅM§Ï ® wrote:
> Hi,
> 
> I configured my guvnor in tomcat 6.0.It <http://6.0.It> is working fine 
> with out any  user name validation.now i just want to create a role and 
> give permission to that role.
> In the components.xml i have changed like the below configuration
> 
> <security:role-based-permission-resolver 
> enable-role-based-authorization="true"/>
> <security:identity authenticate-method="#{authenticator.authenticate}" 
> jaas-config-name="brms"/>
> 
> now where i need to create a role with that name "brms" and where i need 
> mention the username and password.
> i tried in the tomcat-users.xml but it is not working.
> 
>  could anyone please help me..
> 
> regards,
> Vamsi Krishna.Kavuri.
> <http://www.brainyquote.com/quotes/authors/g/gilda_radner.html>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list