2 Replies Latest reply on Jun 13, 2005 5:51 PM by bandini

    help in configuring login-config.xml file

    bandini Newbie


      I have written my logon-config.xml file and have delpolyed in /config directory...

       <application-policy name="fermat">
       <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
       <module-option name="dsJndiName">java:/NewtonDS</module-option>
       <module-option name="principalsQuery">select password as 'Password' from xuser Principals where username=?</module-option>
       <module-option name="rolesQuery">select rolename 'Roles', 'Roles' as 'RoleGroup' from xuser_xrole Roles where username=?</module-option>
       <!-- Used by clients within the application server VM such as
       mbeans and servlets that access EJBs.
       <application-policy name = "client-login">
       <login-module code = "org.jboss.security.ClientLoginModule"
       flag = "required">

      My question is will i be able to place this file in my application ear and deploy instead of placing it in /config directory..such that i can have multiple login-config.xml file for each apps.