tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Custom Authenticators
Date Mon, 04 Nov 2013 20:11:52 GMT
2013/11/4 Steve Appling <sappling@automatedlogic.com>:
>
>
> In Tomcat 7 I could use the org.apache.catalina.startup.Embedded class'
> addAuthenticator method to set up my own custom authenticators.  This
> allowed me to define a new authenticator that a web-app could select with
> <auth-method/> in web.xml.  Now that the Embedded class has been removed
> (in 8), I'm not sure how to accomplish this.  Is there some way to add a
> similar custom authenticator when using the Tomcat class?

How to you configure it when running standalone?

E.g (from TestDigestAuthenticator.java of Tomcat 7):
.
        ctxt.getPipeline().addValve(new DigestAuthenticator());

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message