Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Configure custom HTTP Header in RWTServlet main response
Configure custom HTTP Header in RWTServlet main response [message #1094840] Mon, 26 August 2013 09:06 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 145
Registered: March 2010
Location: France
Senior Member
Hello,

We need to have ability to add http headers in main RAP page.
For example, in order to prevent potential clickjacking, we need to set X-Frame-Options header.

I think we can currently do that by using a Servlet Filter arround RWTServlet.

Are there any other solutions to achieve this ?

If not would it makes sense for you to add some application parameters allowing to add
http headers ?

Best regards,
Arnaud

Re: Configure custom HTTP Header in RWTServlet main response [message #1097825 is a reply to message #1094840] Fri, 30 August 2013 07:57 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
Hi Arnaud,
I can't think of any built-in solution. Please open an enhancement
request about it.
Thanks,
Ivan

On 8/26/2013 12:06 PM, Arnaud MERGEY wrote:
> Hello,
>
> We need to have ability to add http headers in main RAP page.
> For example, in order to prevent potential clickjacking, we need to
> set X-Frame-Options header.
>
> I think we can currently do that by using a Servlet Filter arround
> RWTServlet.
>
> Are there any other solutions to achieve this ?
> If not would it makes sense for you to add some application parameters
> allowing to add http headers ?
> Best regards,
> Arnaud
>
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Configure custom HTTP Header in RWTServlet main response [message #1097888 is a reply to message #1097825] Fri, 30 August 2013 09:36 Go to previous message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 145
Registered: March 2010
Location: France
Senior Member
Thanks,

I have filled enhancement 416222

Best regards,
Arnaud
Previous Topic:rwt-resource for browser widget
Next Topic:DSL Editor in RAP (Xtext like)
Goto Forum:
  


Current Time: Sat Dec 20 23:52:53 GMT 2014

Powered by FUDForum. Page generated in 0.07203 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software