Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
bala malasani
How to read Header values in liferay portlet from siteminder?
February 23, 2013 7:46 AM
Answer

bala malasani

Rank: New Member

Posts: 20

Join Date: September 25, 2012

Recent Posts

Hi all,

I need to read some header values in my portlet . Any reference links or suggestions.
Jelmer Kuperus
RE: How to read Header values in liferay portlet from siteminder?
February 23, 2013 8:53 AM
Answer

Jelmer Kuperus

Rank: Liferay Legend

Posts: 1192

Join Date: March 10, 2010

Recent Posts

1HttpServletRequest request = PortalUtil. getHttpServletRequest(portletRequest);
2String header = request.getHeader("your-header");


This might also work

1portletRequest.getProperty("your-header")


But I remember it not working in some cases