@@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
@@ -142,7 +143,9 @@ public class AuthenticationController {
+ 17
− 0
@@ -2,6 +2,12 @@ package com.tarento.retail.model;
@@ -15,20 +21,35 @@ import lombok.ToString;
@@ -32,6 +32,7 @@ public class UserProfile extends User {
@@ -204,4 +205,13 @@ public class UserProfile extends User {
@@ -28,6 +28,7 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
@@ -71,6 +72,9 @@ public class UserServiceImpl implements UserDetailsService, UserService {
@@ -186,6 +190,11 @@ public class UserServiceImpl implements UserDetailsService, UserService {
@@ -579,6 +588,7 @@ public class UserServiceImpl implements UserDetailsService, UserService {