Problem : Application URLs (local urls) not loading in iframe inside an application UI.
Reason : Spring sets the X-Frame-Options to Deny by default.
Fix : Allow Same-origin-URLs in frames.
In Security configuration, add –
[java]
http
.headers().frameOptions().sameOrigin()
.and
.//other configs
[/java]
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.