Re:[cas-dev] Issue getting username in Http Headers

2013-10-27 Thread nmahtolia
Thanks a lot Matt. In between we put a workaround in place and now able to see CASAuthNHeader field is getting populated. Workaround: In AbstractPersonDirectoryCredentialsToPrincipalResolver: resolvePrincipal method we overwrote uid with principalId. Once this is done, we are getting mod_auth_cas

Re: [cas-dev] Issue getting username in Http Headers

2013-10-27 Thread Matt Smith
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'"

Re:[cas-dev] Issue getting username in Http Headers

2013-10-25 Thread nmahtolia
No we are not getting it in our business applications. My assumption is if it is java CAS client, it might have been other case but these fields are not getting populated due to mod_auth_cas client and reverse proxy we have configured in Apache Web Server. Please share your thoughts. Regards, Nar

Re: [cas-dev] Issue getting username in Http Headers

2013-10-23 Thread Ghetolay
username can be retrieved using the Principal interface through HttpServletRequest.getUserPrincipal(). 2013/10/23 nmahtolia > 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 > tomc