1 Reply Latest reply on Dec 14, 2009 11:30 AM by cash1981

    login failed

    purple

      I have login failed before that,I made authentication user. I have authenticationBean as authentication action and Authenticator as interface of authenticationBean.
      n then this is statement of error:
      ERROR SeamLoginModule Error invoking login method
      javax.el.PropertyNotFoundException: Target Unreachable, identifier authenticator resolved null


      please help me...

        • 1. Re: login failed
          cash1981

          Seems like your authenticator cannot be found.


          You have probably not read the documentation and followed it correctly.
          Ensure that in components.xml you have




          xmlns:authentication="http://jboss.com/products/seam/authentication"
          <security:identity authenticate-method="#{authenticator.authenticate}"/>
          



          And use a normal javabean as authenticator.




          @Name("authenticator")
          public class Authenticator {
          
          public boolean authenticate() {
          ...
          }
          }