Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
6a2d73eb
Commit
6a2d73eb
authored
Jul 18, 2019
by
Piotr Gawron
Browse files
XFrameFilter is not necessary in spring security config (it's global)
parent
f0c47f5b
Pipeline
#11864
failed with stage
in 9 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
web/src/main/java/lcsb/mapviewer/web/config/SpringSecurityConfig.java
View file @
6a2d73eb
...
...
@@ -88,7 +88,6 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
.
and
()
.
cors
().
disable
()
// is managed by CORSFilter
.
csrf
().
disable
()
.
addFilterAfter
(
new
XFrameFilter
(),
BasicAuthenticationFilter
.
class
)
.
addFilterAfter
(
new
CacheFilter
(),
BasicAuthenticationFilter
.
class
)
.
addFilterAfter
(
new
CORSFilter
(),
BasicAuthenticationFilter
.
class
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment