[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule SQL Failure

2005-04-21 Thread mjdinsmore
Are you sure you have the correct SQL for the select of the userRoles fro mthe table? As you can see from the error itself, the SQL exception is telling you that there is no table called ROLES whereas you have a table called userRoles. I think you might have cut and pasted the original SQL

[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule SQL failure: Column Index out

2004-06-25 Thread pnevado
Thanks. It works now, just adding the code you suggested. Regards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839966#3839966 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839966

[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule SQL failure: Column Index out

2004-06-23 Thread blackers
your roles query is supposed to return two columns not one as your SQL statement is suggesting. The first table column should be the Role and the second the RoleGroup, from your query anonymous wrote : module-option name=rolesQueryselect id_servicio from vivoen.registro where id_usuario=? AND