Hello all,

Jboss 3.2.3 / Windows2000

I will try this post again, since it is pretty urgent:
The order of login modules is as below
1) AdbLoginModule sufficient
2) BdbLoginModule sufficient

Phase I:
AdbLoginModule.login() returns false
BdbLoginModule.login() returns true
Phase II:
AdbLoginModule.commit() - called - why is this called when login() failed?
According to my understanding of the specs, the only LoginContext commit() methods 
called are for those LoginModules that return true.

<application-policy name = "status">
       
          <login-module code = "AdbLoginModule"
             flag = "sufficient">
             <module-option name = "datasource">ds/ePool</module-option>
          </login-module>
          <login-module code = "BdbLoginModule"
             flag = "sufficient">
             <module-option name = "datasource">ds/security</module-option>
          </login-module>
       
    </application-policy>

Thanks,
kenh


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

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



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to