Hi all, I have a question about changing rolesQuery in DatabaseServerLoginModule.
In my application a user may have different roles but this roles could change depending from the company in which user works. For example: in Company1 user John has Admin/Developer Roles in Company2 user John has Developer Role in Company3 user John has Seller Role Is it possible to change rolesQuery in this way: <select usersRoles, 'Roles' from UsersRoles where username=? AND Company=?> or I need to write, Server Side, a Custom Login Module that substitutes DatabaseServerLoginModule ? Client Side, must I write a MyClientLoginModule, similar to the default ClientLoginModule, that sends username/password and Company to JBoss ? Company must be set using SecurityAssociation.setPrincipal() method ? (in JBoss docs I read that "you could always set the SecurityAssociation information directly, but this is considered an internal API that is subject to change without notice"). I'm very confused :-( Could someone give me a suggestion ? Thank you very much, Moreno View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834045#3834045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834045 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
