[jboss-user] [JBoss Portal] - CustomLoginModule and isUserInRole() is always FALSE

ameo do-not-reply at jboss.com
Thu May 29 09:23:35 EDT 2008


Hello,

I wrote a CustomLoginModule that authenticate against a database. The login works fine and the roles can be read out by using the membership module with the method getUserRoles(user). All seems to be fine. 

The problem is that the method request.isUserInRole("rolename")  returns always FALSE.

Could  someone help ?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154285



More information about the jboss-user mailing list