I want to create a custom login module to authenticate a user by comparing the userID and password with MySQL database.
- My custom login module is called RdbmsLoginModule which implements the javax.security.auth.spi.LoginModule interface. - The configuration file, jaas.config is: Example { RdbmsLoginModule required debug = "true" url = "jdbc:mysql:///jaasdb" driver = "com.mysql.jdbc.Driver"; }; - I create a jaas.war file and deploy it to /server/default/deploy directory. - Is the best place to reference jaas.config in /jre/lib/security/java.security file? - How then should I modify the jaas.config file to reference the RdbmsLoginModule in /server/default/deploy/jaas.war file? Or am I totally off and I need to definitely use a subclass of org.jboss.security.auth.spi.AbstractLoginModule? Thanks guys. Vartan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864753#3864753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864753 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user