0 Replies Latest reply on Dec 23, 2009 5:13 AM by djeanprost

    How to configure a tomcat custom authenticator

    djeanprost

      Environment : *JBOSS 4.0.4GA*

      I want to write a custom authenticator.
      I followed these piece of advices at http://community.jboss.org/wiki/ExternalizeTomcatAuthenticators

       

      I wrote a class that extends org.apache.catalina.authenticator.AuthenticatorBase.
      I setup this new authenticator by uncommenting " <attribute name="Authenticators"... " in "C:\Bin\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml
      I setup my webapp to use this new kind of authentication method in my web.xml
      At this point, everything works well. When debugging, I can see I enter my authenticator and authentication is ok.

       

      Now I would like to configure my authenticator by providing several values using setter like I would do in a MBean. I can't find a way to do it : where should I set my values ? In which config file ?
      regards,
      dom