[jboss-user] [Security & JAAS/JBoss] - Re: Error 403 when using DatabaseServerLoginModule
jaikiran
do-not-reply at jboss.com
Sat Nov 4 03:35:27 EST 2006
Hang on a moment, even though the properties that you mentioned in the config are wrong, JBoss fires the default queries for the users and roles. Your logs mention:
anonymous wrote : 20:01:05,281 DEBUG [RealmBase] Username admin does NOT have role user
| 20:01:05,281 TRACE [JBossSecurityMgrRealm] No role found: user
So does your roles table map the 'admin' user to the 'user' role? In other words, does the admin user have the user role. Looks like you are trying to access a resource which is allowed to be accessed only by users having the role 'user'
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983182#3983182
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983182
More information about the jboss-user
mailing list