Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Indexer
Commits
e84dc6a0
Commit
e84dc6a0
authored
Nov 10, 2021
by
Meghnath Saha
Browse files
disable-spring-web-security-205
parent
ac64cbf9
Pipeline
#80313
failed with stages
in 32 minutes and 20 seconds
Changes
1
Pipelines
5
Show whitespace changes
Inline
Side-by-side
provider/indexer-ibm/src/main/java/org/opengroup/osdu/indexer/ibm/security/SecurityConfig.java
View file @
e84dc6a0
...
@@ -15,20 +15,20 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
...
@@ -15,20 +15,20 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
@Override
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
http
http
.
csrf
().
disable
()
.
csrf
().
disable
()
;
.
authorizeRequests
()
//
.authorizeRequests()
.
antMatchers
(
"/"
,
"/index.html"
,
//
.antMatchers("/", "/index.html",
"/liveness_check"
,
//
"/liveness_check",
"/readiness_check"
,
//
"/readiness_check",
"/index-worker"
,
"/_dps/task-handlers"
,
"/_dps/task-handlers/**"
,
//
"/index-worker", "/_dps/task-handlers", "/_dps/task-handlers/**",
"/reindex"
,
//
"/reindex",
"/v2/api-docs"
,
//
"/v2/api-docs",
"/swagger-resources/**"
,
//
"/swagger-resources/**",
"/configuration/security"
,
//
"/configuration/security",
"/swagger"
,
//
"/swagger",
"/info"
,
//
"/info",
"/swagger-ui.html"
,
//
"/swagger-ui.html",
"/webjars/**"
).
permitAll
()
//
"/webjars/**").permitAll()
.
anyRequest
().
anonymous
();
//
.anyRequest().anonymous();
}
}
}
}
Write
Preview
Supports
Markdown
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