Hello Simon,
Thursday, May 30, 2002, 7:17:09 PM, you wrote:
SS> Using JBoss 2, I've read that it was possible to set up JDBC based
SS> user/role mappings by modifying the auth.conf file. With JBoss 3, can
SS> I follow the same procedure? Or do I now need to fiddle with the
SS> login-config.xml file?
In login-config.xml you need to set up login module you wish to use
with your app. For example:
<application-policy name="MTCatalogLogin">
<authentication>
<login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
flag="required">
<module-option name="dsJndiName">java:/MTCatalogDS</module-option>
<module-option name="principalsQuery">[select password]</module-option>
<module-option name="rolesQuery">[select role,roleGroup]</module-option>
<module-option name="unauthenticatedIdentity">nobody</module-option>
</login-module>
</authentication>
</application-policy>
SS> As I read
SS> it, the "principalsQuery" represents the query required to get the
SS> password for the user: should this be encrypted or stored in the
SS> database as plain text?
In plain text.
--
Best regards,
Alex Loubyansky
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user