[ 
http://issues.apache.org/jira/browse/GERONIMO-2294?page=comments#action_12429110
 ] 
            
Vamsavardhana Reddy commented on GERONIMO-2294:
-----------------------------------------------

login() and commit() methods get invoked twice on each LoginModule class in the 
realm.  But, the abort() method is getting invoked only once in the so called 
"fake" round, but it is not getting invoked a second time.

> In security realm with multiple login modules, anything after the first is 
> ignored
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2294
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2294
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 1.1
>            Reporter: Aaron Mulder
>         Assigned To: Vamsavardhana Reddy
>            Priority: Blocker
>             Fix For: 1.1.1
>
>         Attachments: GERONIMO-2294.patch, security-test-webapp.war, 
> test-realm.xml
>
>
> If you deploy the attached plan to create a security realm the same as the 
> default except with a second login module, and put breakpoints in the login() 
> method of both login modules, the first login module is called twice as 
> expected (once to gather callbacks and again for real) but the second login 
> module is never called at all!
> The attached web app uses this realm, just deploy it at point to 
> http://localhost:8080/security/index.html to get the login, and put 
> breakpoints in 
> org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule and 
> org.apache.geronimo.security.realm.providers.RepeatedFailureLockoutLoginModule

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to