aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/java/com/juick/www/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-20 09:40:15 +0300
committerGravatar Vitaly Takmazov2016-12-20 09:40:15 +0300
commita928586ad8ec94e47533e5951f3bef7adb95b5a7 (patch)
tree87301cd070c437b19820c939448dc1338fa35340 /juick-spring-www/src/main/java/com/juick/www/configuration
parent827490fc113b404999c2c4df7de459e6ee712e14 (diff)
ANONYM -> ANONYMOUS
Diffstat (limited to 'juick-spring-www/src/main/java/com/juick/www/configuration')
-rw-r--r--juick-spring-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-spring-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java b/juick-spring-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java
index 692cf8cc..259e8c08 100644
--- a/juick-spring-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java
+++ b/juick-spring-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java
@@ -37,7 +37,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/settings", "/pm/**").authenticated()
.anyRequest().permitAll()
.and()
- .anonymous().principal(JuickUser.ANONYM_USER).authorities(JuickUser.ANONYM_AUTHORITY)
+ .anonymous().principal(JuickUser.ANONYMOUS_USER).authorities(JuickUser.ANONYMOUS_AUTHORITY)
.and()
.sessionManagement().invalidSessionUrl("/")
.and()