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
03c2e522
Commit
03c2e522
authored
Dec 06, 2021
by
Bhushan Rade
Browse files
Merge branch 'disable-spring-web-security-205' into 'master'
disable-spring-web-security-205 See merge request
!237
parents
f6cbfd19
e84dc6a0
Pipeline
#80321
failed with stages
in 33 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
provider/indexer-ibm/src/main/java/org/opengroup/osdu/indexer/ibm/security/SecurityConfig.java
View file @
03c2e522
...
...
@@ -15,20 +15,20 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
http
.
csrf
().
disable
()
.
authorizeRequests
()
.
antMatchers
(
"/"
,
"/index.html"
,
"/liveness_check"
,
"/readiness_check"
,
"/index-worker"
,
"/_dps/task-handlers"
,
"/_dps/task-handlers/**"
,
"/reindex"
,
"/v2/api-docs"
,
"/swagger-resources/**"
,
"/configuration/security"
,
"/swagger"
,
"/info"
,
"/swagger-ui.html"
,
"/webjars/**"
).
permitAll
()
.
anyRequest
().
anonymous
();
.
csrf
().
disable
()
;
//
.authorizeRequests()
//
.antMatchers("/", "/index.html",
//
"/liveness_check",
//
"/readiness_check",
//
"/index-worker", "/_dps/task-handlers", "/_dps/task-handlers/**",
//
"/reindex",
//
"/v2/api-docs",
//
"/swagger-resources/**",
//
"/configuration/security",
//
"/swagger",
//
"/info",
//
"/swagger-ui.html",
//
"/webjars/**").permitAll()
//
.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