Hi Scott, You were right. I deleted the last '/' in the opening login-module tag and added a closing </login-module> tag after the module-option tags. I'm really sorry to have missed this and take your time.
As I told in another post (Subject: [JBoss-user] retrieving role via DatabaseLoginModule / Date: Thu, 27 Jun 2002 16:59:10 +0200), the roles are not retrieved well. This points me the following query : what is the database overlay ? The Principals table is a two text fields table with the primary key sets to the PrincipalID field. But I'm wondering about the Roles tables. In your example "Custom security using the JBossSX Framework", the PrincipalID field is filled two times with the username "scott" and three times with "stark". According to this, the Primary key cannot be the PrincipalID field, can it ? Thanks, ionel Scott M Stark wrote: > On closer inspection this is because your definition is invalid. The > module-option tags are child elements of the login-module element. > You have an empty <login-module/>. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user