Hello ,
   As it seems, the query for principals is working, with users being correctly 
authenticated ...its only the second query that is posing problems !! The User 
Admin has the role Admin in the database and the role constraint has been set 
as Admin in the web.xml for this resource. 

I suspect the user is not being authorized correctly because the he has no role 
bound !! But i cannot figure out why ?? Do you have any configs that is working 
along with a sample db structure.....I am using the a simple db structure like 
this (found this out one from a wiki !!)


  | Principals Table
  | ==========
  | 
  | PrincipalId varchar(255), PRIMARY
  | Password varchar(255),
  | 
  | 
  | Roles Table
  | =======
  | PrincipalId varchar(255), PRIMARY
  | Role varchar(255),
  | RoleGroup varchar(255)
  | 
  | 

Regards,
Jankee Yogesh
http://www.m-itc.net

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983197#3983197

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983197
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to