diff options
author | Vitaly Takmazov | 2016-12-05 09:59:03 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-05 09:59:03 +0300 |
commit | 130dd6e711a4528cdb30fb1b1d60be9687970bc3 (patch) | |
tree | b2ae60fcccf62f80c729efc61212a94f923f9671 /juick-api/src/main/java/com | |
parent | c4196f79770fa2f0bc357f239acce0d92968179b (diff) |
juick-api: telegram webhook url is anonymous
Diffstat (limited to 'juick-api/src/main/java/com')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/configuration/ApiSecurityConfig.java | 2 |
1 files changed, 1 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 61beee08..5c95e416 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,7 @@ public class ApiSecurityConfig extends WebSecurityConfigurerAdapter { protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .antMatchers(HttpMethod.OPTIONS).permitAll() - .antMatchers("/messages", "/users", "/thread", "/tags").permitAll() + .antMatchers("/messages", "/users", "/thread", "/tags", "/tlgmbtwbhk").permitAll() .anyRequest().hasRole("USER") .and().httpBasic().authenticationEntryPoint(getJuickAuthenticationEntryPoint()) .and().anonymous() |