diff options
-rw-r--r-- | juick-server-web/src/main/java/com/juick/service/security/entities/JuickUser.java | 2 | ||||
-rw-r--r-- | juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/juick-server-web/src/main/java/com/juick/service/security/entities/JuickUser.java b/juick-server-web/src/main/java/com/juick/service/security/entities/JuickUser.java index a66a4a73..6e72117e 100644 --- a/juick-server-web/src/main/java/com/juick/service/security/entities/JuickUser.java +++ b/juick-server-web/src/main/java/com/juick/service/security/entities/JuickUser.java @@ -58,7 +58,7 @@ public class JuickUser implements UserDetails { @Override public String getPassword() { - return user.getCredentials(); + return "{noop}" + user.getCredentials(); } @Override diff --git a/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java b/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java index 231c6e2e..613b4c92 100644 --- a/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java +++ b/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java @@ -17,10 +17,10 @@ package com.juick.www.configuration; -import com.juick.service.security.HashParamAuthenticationFilter; -import com.juick.service.security.entities.JuickUser; import com.juick.service.UserService; +import com.juick.service.security.HashParamAuthenticationFilter; import com.juick.service.security.JuickUserDetailsService; +import com.juick.service.security.entities.JuickUser; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.security.authentication.AuthenticationManager; |