add the following section into the login-config.xml file just above the last  
line.
The login-config.xml file is located in jboss/server/all/config folder:
###########################################################################
    <application-policy name = "???????????????????">
       
        <login-module code = 
"org.jboss.security.auth.spi.DatabaseServerLoginModule"
                      flag = "required">
            <module-option name = "dsJndiName"> ?????????????????? 
</module-option>
            <module-option name = "principalsQuery">SELECT password FROM 
????????????????????</module-option>
            <module-option name = "rolesQuery">
                SELECT ???????????????????????????????????
            </module-option>
        </login-module>
       
   </application-policy>
###########################################################################
   note: changes into login-config.xml file requires jboss restart.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917959#3917959

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917959


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to