Skip to content

Add uuid to access token #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 29, 2018
Merged

Add uuid to access token #9

merged 6 commits into from
Nov 29, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jul 30, 2018

No description provided.

@ghost ghost self-requested a review July 30, 2018 20:14
private UUID getOrgId(String username) {
UserOrganization orgUser = orgUserRepo.findByUsername(username);
return orgUser.getOrganizationId();
}

private UUID getUserId(String username) {
User user = userRepo.findByUsername(username);
return user.getUserId();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this return if the user is not found? It looks like an exception could be thrown by this code.

jusoto added 3 commits October 1, 2018 13:30
- Logger in JWTTokenEnhancer and check objects not null before reading properties
- Changed Eureka Server environment variables name to EUREKA_SERVER
…on Windows with Docker Toolbox and localhost for Docker
@jusoto jusoto merged commit e8cbb12 into master Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants