Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Authentication-Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gourmet-Guide
Authentication-Service
Merge requests
!2
Changed request url from localhost to hostname of the db service.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Changed request url from localhost to hostname of the db service.
docker_swarm_service_auth
into
main
Overview
0
Commits
1
Pipelines
1
Changes
6
Merged
Artemiza-Mihaela DOSPINESCU
requested to merge
docker_swarm_service_auth
into
main
9 months ago
Overview
0
Commits
1
Pipelines
1
Changes
6
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
c65b8b0d
1 commit,
9 months ago
6 files
+
5
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
gourmet-guide-backend/src/main/java/com/db/gourmetguide/security/CustomUserDetailsService.java
+
1
−
1
Options
@@ -28,7 +28,7 @@ public class CustomUserDetailsService implements UserDetailsService {
public
UserDetails
loadUserByUsername
(
String
username
)
throws
UsernameNotFoundException
{
HttpClient
httpClient
=
HttpClient
.
newHttpClient
();
HttpRequest
request
=
HttpRequest
.
newBuilder
()
.
uri
(
URI
.
create
(
"http://
localhost
:8081/users/username"
))
.
uri
(
URI
.
create
(
"http://
dbinteraction
:8081/users/username"
))
.
GET
()
.
build
();
try
{
Loading