<!-- NOTE: this is a just subset of conf/login-config.xml.
     This entry can be used to provide a database-based security domain.
     
     There are two users in the DB:
     username/password: admin/admin
     username/password: SomeUser/password -->

<application-policy name="TODO">
  <authentication>
    <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
     flag="required">
      <module-option name="dsJndiName">java:/TODO</module-option>
      <module-option name="principalsQuery">TODO</module-option>
      <module-option name="rolesQuery">TODO</module-option>
    </login-module>
  </authentication>
</application-policy>