2015-03-13 22:02 GMT+03:00 Graham Leggett <minf...@sharp.fm>:
> Hi all,
>
> I have a working realm installation using basic authentication, which I need 
> to switch to client certificate authentication. Having done so it doesn’t 
> work, I just get “forbidden”, with no indication of the error involved.
>
> Back in the day there was a simple “debug” flag that turned on debugging. 
> That seems to have been replaced with the significantly more complicated 
> java.util.logging implementation, based on adding a logging.properties file. 
> Adding this file, along with suggested entries to debug realms has had no 
> effect, I can still see nothing in console.out.
>
> Can anyone point at a simple, clear and unambiguous set of instructions that 
> indicate how to debug a realm configuration?
>
> I have tomcat up and running in a debugger, if the realm logging is broken is 
> there a suggested point in the code I should be placing a breakpoint so I can 
> step through this?


A realm is a "database" used by an authenticator.
The BASIC authentication is implemented by BasicAuthenticator. I would
recommend to start debugging with that authenticator class.

An authenticator is essentially a Valve. Its entry point is invoke() method.

Best regards,
Konstantin Kolinko

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

Reply via email to