My post on the mailinglist did not quite work, so here it is again:
Hi guys, I'm having the same problem, somehow my login/pass is not beiing accepted. I'm using the following config (in login-confog.xml) to try to get user/password/role information from my database: <application-policy name = "<appname>"> <authentication> <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required"> <module-option name = "unauthenticatedIdentity"> guest </module-option> <module-option name = "dsJndiName"> java:/<appname> </module-option> <module-option name = "principalsQuery"> SELECT c_password FROM t_user WHERE c_username=? </module-option> <module-option name = "rolesQuery"> SELECT c_role, "Roles" FROM t_user WHERE c_username=? </module-option> </login-module> </authentication> </application-policy> There are two items in this configuration of which I'm not entirely sure, these are the "dsJndiName" and the "SELECT c_role, "Roles" FROM t_user" section. Do I have to specify my jndi source somewhere else? If yes, where? Can't I just give my driver and database location with the login/pass? I would really appriciate it if someone could shine a light on this problem. Is there a logging option I can turn on? at the moment I've got no clue to where the authentication goes wrong. Thnx! Robbert _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=619#619 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
