org.apache.catalina.connector.RequestWrapper

I'm wondering if I could just implement my custom authenticator (compare
BasicAuthenticator.java) or a custom Realm. But I don't know how I can
register my authenticator.
As mentioned already I want to read the delegated user from a http header
attribute and register it. Here the way how the BasicAuthenticator does it:
register(request, response, principal, Constants.BASIC_METHOD, username,
password);

My problem, am I free in choosing a constant? I don't have a password
because authentication has been done in the apache server which is in front
of tomcat.

I don't know if I have to write a custom authenticator, a custom Realm or
overwrite RequestWrapper. In all cases, how can I integrate my custom
classes in tomcat? I don't want to build a custom tomcat release.
Integration should be possible by configuration.






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allf�llige Anh�nge dazu) beinhaltet
m�glicherweise vertrauliche oder gesetzlich gesch�tzte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrt�mlicherweise erreicht hat, sind Sie h�flich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerst�ren und die absendende Person
umgehend zu benachrichtigen. Vielen Dank f�r Ihre Hilfe.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to