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,
Narayan




On Thu, Oct 24, 2013 at 1:58 AM, Ghetolay [via Jasig] <
[email protected]> wrote:

> username can be retrieved using the Principal interface through
> HttpServletRequest.getUserPrincipal().
>
>
> 2013/10/23 nmahtolia <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4661005&i=0>
> >
>
>> 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 [hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=4661005&i=1>as: [hidden
>> email] <http://user/SendEmail.jtp?type=node&node=4661005&i=2>
>>
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>
>>
> --
> You are currently subscribed to [hidden email] 
> <http://user/SendEmail.jtp?type=node&node=4661005&i=3> as: [hidden email] 
> <http://user/SendEmail.jtp?type=node&node=4661005&i=4>
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://jasig.275507.n4.nabble.com/Issue-getting-username-in-Http-Headers-tp4661000p4661005.html
>  To unsubscribe from Issue getting username in Http Headers, click 
> here<http://jasig.275507.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4661000&code=bWFodG9saWFzaW5jQGdtYWlsLmNvbXw0NjYxMDAwfDg1NTAyMjk4Nw==>
> .
> NAML<http://jasig.275507.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://jasig.275507.n4.nabble.com/Issue-getting-username-in-Http-Headers-tp4661000p4661025.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

Reply via email to