Iframe Option

Hi,
I’m using springboot application of Camunda.
In an embedded form I would like to open a window with a base64 of my PDF.

This is my code :
win.document.write(’’);

I have this exception :
Refused to display ‘http://localhost:8080/login’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.

How to make this X-Frame-Option to sameorigin or allow-from all ?

Thanks,