Software Development, Programming, Self Improvement, Java, Spring Boot.
RoleNotFoundException { return User.builder() .email(signUpRequestDto.getEmail()) .username(signUpRequestDto.getUserName()) .password(passwordEncoder.encode(signUpRequestDto.getPassword())) .enabled(true) .roles(determineRoles(signUpRequestDto.getRoles())) .build(); } private Set<Role>