Narayan, Could you share your Apache httpd.conf, or at least the portions showing the vhost, proxy, and CAS configurations?
Could you also please supply the Apache version? Also, when using mod_auth_cas with mod_jk or proxy_ajp to Tomcat, please make sure to set the "tomcatAuthentcation='false'" attribute on the AJP connector in your server.xml . This should allow "request.getRemoteUser()" to work correctly. -Matt On Wed, Oct 23, 2013 at 12:46 PM, nmahtolia <[email protected]> wrote: > Hi All, > > I’m evaluating CAS for single sign on solution using CAS-Server-3.5.2 and > mod_auth_cas v1.0.9.1 Apache module. I’ve Apache Web Server, CAS Server in > tomcat and various Applications in JBoss. I've limited option to use CAS > Java client to avoid additional calls in between application server and CAS > server. > > Issue I’m facing is, after successful authentication I don’t get username > in > application. I did following: > 1) In mod_auth_cas, I have directive: CASAuthNHeader on > 2) I also see Cookie getting persist in folder specified via > directive: CASCookiePath > 3) Trying to access username as below: > a. request.getHeader("on") . Also tried various other options, > such as request.getHeader("REMOTE_USER")/ > request.getParameter("REMOTE_USER") and few other approach but none > returned > expected username and it is null. > > Request to please give some pointer, what might be wrong causing this > issue? > > Thanks & Regards, > Narayan > > > > > -- > View this message in context: > http://jasig.275507.n4.nabble.com/Issue-getting-username-in-Http-Headers-tp4661000.html > Sent from the CAS Developers mailing list archive at Nabble.com. > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > > -- [email protected] PGP: E2144AD8 -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
