How Wouter already said, you have to configure a database login module .
Here an example: 1. Edit and add the following application policy in your <jboss>/server/default/conf/login-config.xml: <application-policy name = "ApplicationXY"> <authentication> <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required"> <module-option name = "unauthenticatedIdentity">guest</module-option> <module-option name = "dsJndiName">java:/DatasourceXY</module-option> <module-option name = "principalsQuery">SELECT PASSWORD FROM USERS WHERE name=?</module-option> <module-option name = "rolesQuery">SELECT ROLES_FK, 'Roles' FROM ROLES2USERS WHERE users_fk=?</module-option> </login-module> </authentication> </application-policy> 2. Set securityRealm Namespace Value to ApplicationXY Hope this helps Oemer _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1215#1215 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user