[jboss-user] Problem with Roles and Authentication

Aurynn Shaw aurynn at gmail.com
Fri Mar 9 19:29:24 EST 2007


I don't know what I've done wrong. :)

I inherited an app, that used to be running on JBoss2.4.10 and  
Tomcat3, and I'm trying to get it running on Jboss4.0.4, and  
Tomcat5.5.20.

So far, this has gone fairly well. Everything starts up semi-normally.

However, I can't log in. At all. Using a debugger, I traced to the  
very spot it checks for validity and found that the Principal objects  
aren't being populated with the Role information from the user data  
store.

I have tried LDAP (the original), Postgres, and finally just a basic  
memory store, trying to find out why it's not loading my roles.

My OS and JDK are CentOS Linux 4.4 and JDK 1.5.0_11. I'm running  
packages from jpackage.org.

Tomcat is set to use JBossSecurityMgrRealm, so my changes have been  
going into login-config.xml

Thanks,
Aurynn




More information about the jboss-user mailing list