Hi

I have following contents in my login-config.xml. Can anyone tell me when these 
quesries actulally run ?

<?xml version='1.0'?>
<!DOCTYPE policy PUBLIC
      "-//JBoss//DTD JBOSS Security Config 3.0//EN"
      "http://www.jboss.org/j2ee/dtd/security_config.dtd";>

    <application-policy name="r911-SecureRealm">
      
                 <login-module code="com.r911.security.R911LoginModule" 
flag="required">
            <module-option name="dsJndiName">java:/R911DB</module-option>
            <module-option name="principalsQuery">SELECT R911User.Password, 
R911User.userId 'PrincipalID' FROM R911User WHERE UserName=?</module-option>
            <module-option name="rolesQuery">
                                SELECT UserGroup.UserGroupName, 'Roles' 
                                FROM R911User 
                                LEFT JOIN UserMapping ON R911User.UserId = 
UserMapping.UserId 
                                LEFT JOIN UserGroup ON UserMapping.UserGroupId 
= UserGroup.UserGroupId 
                                WHERE R911User.Username =?
                        </module-option>
         </login-module>
      
   </application-policy>


Thanks
Imad

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to