Skip to content

Commit

Permalink
EPMRPP-96070 || Add saml user uuid generation
Browse files Browse the repository at this point in the history
  • Loading branch information
pbortnik committed Oct 11, 2024
1 parent 882e3b8 commit 7e84508
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationEventPublisher;
Expand Down Expand Up @@ -102,6 +103,7 @@ public User replicateUser(ReportPortalSamlAuthentication samlAuthentication) {

User user = new User();
user.setLogin(userName);
user.setUuid(UUID.randomUUID());

List<Attribute> details = samlAuthentication.getDetails();

Expand Down

0 comments on commit 7e84508

Please sign in to comment.