From a32e22d8d8f2bd2dbfde1c066780556d6e1e0026 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 28 Nov 2017 10:13:29 +0300 Subject: web: fix spring-security 5.0 initialization --- .../src/main/java/com/juick/service/security/entities/JuickUser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server-web/src/main/java/com/juick/service') 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 -- cgit v1.2.3