.PROP_CONTROLLER_ADMIN_PASSWORD_RESET)) {
final User admin = userRepository.findOneByUserId("admin");
if (admin == null) {
createUser("admin", "admin", Role.ADMIN, "admin", "admin@nhn.com");
} else {
SecuredUser securedUser = new SecuredUser(admin, null);
Object salt = saltSource.getSalt(securedUser);
admin.setRole(Role.ADMIN);
admin.setPassword(passwordEncoder.encodePassword("admin", salt));
userRepository.saveAndFlush(admin);
}