Revize d5331305
Přidáno uživatelem stepanekp před asi 1 rok
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/security/AuthConfiguration.java | ||
---|---|---|
25 | 25 |
http |
26 | 26 |
.cors() |
27 | 27 |
.and() |
28 |
.authorizeRequests(authz -> authz //TODO odstranit detecting
|
|
29 |
.antMatchers("/v2/app/metadata/**", "/v2/user/register", "/v2/detecting/**").permitAll() // Allow all requests to /v2/app/metadata/**
|
|
28 |
.authorizeRequests(authz -> authz |
|
29 |
.antMatchers("/v2/app/metadata/**", "/v2/user/register").permitAll() // Allow all requests to /v2/app/metadata/** |
|
30 | 30 |
.antMatchers("/v2/**").hasAnyRole("spade_basic") |
31 | 31 |
.anyRequest().authenticated() |
32 | 32 |
) |
Také k dispozici: Unified diff
Minor changes