Прокинуты публичные методы
This commit is contained in:
@@ -55,8 +55,8 @@ public class SecurityConfig {
|
|||||||
// Можно указать конкретный путь, * - 1 уровень вложенности, ** - любое количество уровней вложенности
|
// Можно указать конкретный путь, * - 1 уровень вложенности, ** - любое количество уровней вложенности
|
||||||
.antMatchers("/api/auth/**").permitAll()
|
.antMatchers("/api/auth/**").permitAll()
|
||||||
.antMatchers("/api/cocktail/menu").permitAll()
|
.antMatchers("/api/cocktail/menu").permitAll()
|
||||||
.antMatchers("/api/bar/category").permitAll()
|
.antMatchers("/api/category").permitAll()
|
||||||
.antMatchers("/api/bar/glass").permitAll()
|
.antMatchers("/api/glass").permitAll()
|
||||||
.antMatchers("/api/ingredient/simple").permitAll()
|
.antMatchers("/api/ingredient/simple").permitAll()
|
||||||
.anyRequest()
|
.anyRequest()
|
||||||
.authenticated();
|
.authenticated();
|
||||||
|
|||||||
Reference in New Issue
Block a user