2012/6/28 Komáromi, Zoltán <komaromi.zol...@horticosoft.hu>: > Hi, > > I need to use custom authenticator, because a part of application is > using container authentication, and unfortunately the usersernames in > realm conflicts with usernames in application database. :( > > So I need, that if anibody is logged in to my application, then the > authenticator automatically authorizes when needed. > > I think, if I replace the FormAuthenticator with an descendant, it'll > solve the problem. > > To extend FormAuthenticator is simple, but how can I make Tomcat to use it? >
1) Why not a Realm? 2) An Authenticator is a Valve and is configured like any other valve. If one is present, Tomcat will not configure its own. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org