Hi, I have the following problem: the DBSLM reads the login principals from the database only once, ie. if I change the password and I restart my appilcation, ie. initialize a new clientside LoginContext the old password is still valid(and the new not). When I restart the server the new password is accepted. Do I have to write my own LoginModule?
My config excerpt : | <application-policy name = "native-database-login"> | <authentication> | <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required"> | <module-option name="dsJndiName">java:/BINGODROMEDS</module-option> | <module-option name="principalsQuery">select Password from BD_AdminUsers where Username = ?</module-option> | <module-option name="rolesQuery">select UserRoles, 'Roles' from BD_AdminUserRoles where Username = ?</module-option> | <!--module-option name="rolesQuery">select UserRoles 'Role', UserRoleGroups 'RoleGroup' from BD_AdminUserRoles where Username = ?</module-option--> | </login-module> | </authentication> | </application-policy> | Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845027#3845027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845027 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user