diff options
author | Vitaly Takmazov | 2018-09-04 11:22:57 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-09-04 11:22:57 +0300 |
commit | b3d633cf0e8a6c35be9755702dedbea29ff3d897 (patch) | |
tree | dd3f854063c03a3881594c2a592e9827dbbbbbf0 /juick-server/src/main/java/com/juick/server/configuration | |
parent | 2f4701110c5deff4d0f83d728ac15c98b965f3a8 (diff) |
WebFinger support
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/configuration')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java b/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java index 8b37ef17..2f263a78 100644 --- a/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java +++ b/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java @@ -65,7 +65,7 @@ public class ApiSecurityConfig extends WebSecurityConfigurerAdapter { http.authorizeRequests() .antMatchers(HttpMethod.OPTIONS).permitAll() .antMatchers("/", "/messages", "/users", "/thread", "/tags", "/tlgmbtwbhk", "/fbwbhk", - "/skypebotendpoint", "/_fblogin", "/_vklogin", "_tglogin").permitAll() + "/skypebotendpoint", "/_fblogin", "/_vklogin", "_tglogin", "/u/**", "/.well-known/webfinger").permitAll() .anyRequest().hasRole("USER") .and().httpBasic().authenticationEntryPoint(juickAuthenticationEntryPoint()) .and().anonymous() |