On 01/11/2010 12:34, dB. wrote:
> Sorry for the noise. 
> 
> Once I got the right source code, it was pretty easy to track under a 
> debugger. I needed to implement Context.getName(), getPath, an Engine and a 
> Pipeline.
> 
>               _authenticator = new NegotiateAuthenticator();
>               SimpleContext ctx = new SimpleContext();
>               Realm realm = new SimpleRealm();
>               ctx.setRealm(realm);
>               SimpleEngine engine = new SimpleEngine();
>               ctx.setParent(engine);
>               SimplePipeline pipeline = new SimplePipeline();
>               engine.setPipeline(pipeline);
>               ctx.setPipeline(pipeline);
>               _authenticator.setContainer(ctx);               
>               _authenticator.start(); 
> 
> It would be nice if Tomcat's code was a bit more defensive in terms of nulls.

Fair point.

http://svn.apache.org/viewvc?rev=1029755&view=rev should help.

Mark




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

Reply via email to