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
267b4e02
Commit
267b4e02
authored
Jul 18, 2019
by
Piotr Gawron
Browse files
spring magic
parent
b92129bf
Pipeline
#11867
failed with stage
in 10 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
web/src/main/java/lcsb/mapviewer/web/config/SpringSecurityConfig.java
View file @
267b4e02
...
...
@@ -88,6 +88,7 @@ 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