diff options
author | Vitaly Takmazov | 2017-03-28 15:06:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-03-28 15:06:21 +0300 |
commit | 2afe6a8aa53a60bbc81fde41fe1a827c28f3c44f (patch) | |
tree | 17653493fc8f4362185787949979afb6f5deac3d /juick-api/src/main/java/com/juick/api | |
parent | f5f001e9f7a37203b58fc8abe5343819bfa9b01d (diff) |
juick-api: Skype webhook is anonymous
Diffstat (limited to 'juick-api/src/main/java/com/juick/api')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java b/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java index a8dacb03..cb50ddab 100644 --- a/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java +++ b/juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java @@ -44,7 +44,8 @@ public class ApiSecurityConfig extends WebSecurityConfigurerAdapter { protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .antMatchers(HttpMethod.OPTIONS).permitAll() - .antMatchers("/messages", "/users", "/thread", "/tags", "/tlgmbtwbhk", "/fbwbhk").permitAll() + .antMatchers("/messages", "/users", "/thread", "/tags", "/tlgmbtwbhk", "/fbwbhk", + "/skypebotendpoint").permitAll() .anyRequest().hasRole("USER") .and().httpBasic().authenticationEntryPoint(getJuickAuthenticationEntryPoint()) .and().anonymous() |