I take it appname is to be replaced with the name of the security realm ?
I have a login-config.xml that looks like this (I replaced the actual realm name though): <application-policy name = "MyApplicationRealm"> <authentication> <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required"> <module-option name = "unauthenticatedIdentity">guest</module-option> <module-option name = "dsJndiName">java:/DefaultDS</module-option> <module-option name = "principalsQuery">SELECT PASSWORD FROM USERS WHERE NAME=?</module-option> <module-option name = "rolesQuery">SELECT ROLE, 'Roles' FROM USERS WHERE NAME=?</module-option> </login-module> </authentication> </application-policy> the only thing I can see from here is that you are using double quotes around Roles in the rolesQuery, try using single quotes -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=620#620 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
