1 2 Previous Next 15 Replies Latest reply on Nov 7, 2007 3:57 AM by Shane Bryzak

    identity authenticator method runs twice

    Joe Greene Novice

      My app uses Seam, JSF, oc4j, and JSPs. I'm using the Identity feature in Seam to define my login authentication method. The funny problem I'm having is that when authentication fails (due to invalid password, for example), the login method actually executes twice. If I remove the line in components.xml that points to my login() method as the login authenticator, and simply use action="#{loginManager.login}" in my login page command button, the method executes only once as expected. As a sanity check, I reduced my login method to a single System.out.println, and returned false. My test string printed twice to the console until I modified the components.xml. Has anyone else seen this? Is there some configuration setting that pertains to this...?

        1 2 Previous Next