Thank you for your reply but for me this isn't the solution, cause if have a dynamic company. In your solution only the 'id_usuario' can be replaced, what I would like to have is a database query like this:
select roles from userroles where userid=? AND company=? In this query both userid and company have to be inserted into the query and in the DatabaseServerLoginModule only the userid (principal name) get inserted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842103#3842103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842103 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user