- 
        1. Re: JAAS Issues rolesQuery with a hashed username from Databstarksm64 Aug 28, 2005 12:47 PM (in response to msly)The DatabaseServerLoginModule never hashes usernames so you need to look into where the bogus name is coming from at the app layer. 
- 
        2. Re: JAAS Issues rolesQuery with a hashed username from Databmsly Aug 29, 2005 12:21 PM (in response to msly)Is there a way to see what is being passed throught the JAAS classes, or to get at the values? I turned the the logging for security to debug. Is there any other way to test this stuff. I am not sure what is being retrurned from the rolesQuery. 
- 
        3. Re: JAAS Issues rolesQuery with a hashed username from Databstarksm64 Sep 4, 2005 12:10 PM (in response to msly)Most detailed security logging requires trace level configuration. 
 http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ<category name="org.jboss.security"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category> 
 Other than that, get a debugger and the source.
- 
        4. Re: JAAS Issues rolesQuery with a hashed username from Databmsly Sep 6, 2005 7:10 PM (in response to msly)Enabling trace helped me find the problem. 
 Here is the return of the getUserRoles during the problem:
 Principal: Roles(members:safetyAppUser ,HttpInvoker )
 Notice the white space after the role name.
 The database column that I was pulling these from was a char(30) column, so I changed it to a varchar(30) and the query returned the following:
 Principal: Roles(members:safetyAppUser,HttpInvoker)
 Thanks for all of the help.
 Mike
 
    