openvidu-server: session GET operations authentication required
This commit is contained in:
parent
5fefcdc8a2
commit
70628b7890
@ -39,6 +39,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry conf = http.cors().and()
|
||||
.csrf().disable().authorizeRequests().antMatchers(HttpMethod.POST, "/api/sessions").authenticated()
|
||||
.antMatchers(HttpMethod.POST, "/api/sessions/**").authenticated()
|
||||
.antMatchers(HttpMethod.GET, "/api/sessions").authenticated()
|
||||
.antMatchers(HttpMethod.GET, "/api/sessions/**").authenticated()
|
||||
.antMatchers(HttpMethod.POST, "/api/tokens").authenticated()
|
||||
.antMatchers(HttpMethod.POST, "/api/recordings/start").authenticated()
|
||||
.antMatchers(HttpMethod.POST, "/api/recordings/stop").authenticated()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user