http://modauthkerb.sourceforge.net
Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: mmate...@gmail.com > Date: Sun, 28 Jun 2009 21:08:59 +0200 > Subject: Re: REMOTE_USER with Apache 2.2.9 (Debian) + Tomcat 6.0.18 + > mod_auth_kerb > To: users@tomcat.apache.org > > On Sun, Jun 28, 2009 at 5:31 AM, Christopher > Schultz<ch...@christopherschultz.net> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Maciej > > > > On 6/24/2009 10:15 AM, Maciej Matecki wrote: > >> I've got the big problem with forward REMOTE_HOST from Apache to > >> Tomcat. On the Apache side everything works ok. I've tested it with > >> PHP script and it simply works. But on the Tomcat side REMOTE_USER > >> header value is not available. > > > > [snip] > > > >> What I've already done is testing for many different ways: > >> 1) rewriting: > >> http://osdir.com/ml/apache.mod-auth-kerb.general/2005-10/msg00009.html > >> 2) tomcatAuthentication set to false > > > > Which connector are you using? AJP or HTTP? If AJP, are you using > > mod_proxy_ajp or mod_jk? > > [cut] > > I use mod_jk. Thank you for your suggestions. Finally I set in Apache: > JkEnvVar REMOTE_USER and in my preauth filter I can get the user by: > httpServletRequest.getAttribute("REMOTE_USER"); > > Actually I've got much more bigger problem I can't get compiled module > for kerberos with Apache on Windows :( > > Regards, > -- > Maciej Matecki > skype: m.matecki || www: http://matecki.info/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009