This content has been marked as final.
Show 1 reply
-
1. Re: Durable Subscription Authentication
mcaughey Jul 21, 2005 2:27 PM (in response to malmit)Look at the login-config.xml in the conf directory. I set it up in a matter of minutes. I used tables in MySQL and it worked great.
<!-- Security domain for JBossMQ --> <application-policy name = "jbossmq"> <authentication> <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required"> <module-option name = "unauthenticatedIdentity">guest</module-option> <module-option name = "dsJndiName">java:/MyDS</module-option> <module-option name = "principalsQuery">SELECT pwd as PASSWD FROM Player WHERE username=?</module-option> <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM Player_ROLES WHERE username=?</module-option> </login-module> </authentication> </application-policy>
-Michael