Skip to content
Snippets Groups Projects
Commit 8dd7257c authored by Chris Lemaire's avatar Chris Lemaire
Browse files

Merge branch '4-repository-exposure' into 'development'

Resolve "Repository exposure should be limited"

Closes #4

See merge request !14
parents 4a7397d8 5e638d71
No related branches found
No related tags found
No related merge requests found
Pipeline #318304 passed
......@@ -55,6 +55,7 @@ public class ProductionSecurityConfig extends WebSecurityConfigurerAdapter {
.authorizeRequests()
.antMatchers("/error/**").permitAll()
.antMatchers("/api/**").authenticated()
.anyRequest().denyAll()
.and()
.addFilterAfter(apiKeyFilterChainProxy(), BasicAuthenticationFilter.class)
.exceptionHandling().authenticationEntryPoint(new ApiAuthenticationEntryPoint());
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment