|
@@ -65,6 +65,11 @@ public class SimpleUserService extends AbstractService<UserEntity, String>
|
|
|
return passwordEncoder.encode(password, salt);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public UserEntity createEntity() {
|
|
|
+ return entityFactory.newInstance(BindRoleUserEntity.class);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
@Transactional(readOnly = true)
|
|
|
public UserEntity selectByUsername(String username) {
|