« Return to Thread: HTTP request header

HTTP request header

by dtanner-2 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

I'm using nexus 1.2.1 war with apache 2.2.3 and Tomcat 5.5.25.

 

I need to get header information from the initial HTTP request.  I’m doing the following:

 

    HttpServletRequest servletRequest = ((ServletCall)((HttpRequest)request).getHttpCall()).getRequest();

    String email = (String)servletRequest.getHeader("Shib-InetOrgPerson-mail");

 

I should be getting an email address, but instead I’m getting a null.

 

I know I should be getting an email address because I wrote a simple jsp test web application (and deployed the test to that same container that nexus is deployed to) to test the header.

 

I’m doing something wrong.  Any ideas?

 

David

 

David Tanner

Massachusetts Institute of Technology

Information Services and Technology

W92-144

dtanner@...

617-253-0110

 

 

 « Return to Thread: HTTP request header