Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TEHIK
TEIS
common-api-gateway
Commits
a3182af5
Commit
a3182af5
authored
Oct 08, 2020
by
Jyrgen Hannus
Browse files
Fixed official user mock auth user endpoint mapping
parent
a8fcb366
Changes
1
Hide whitespace changes
Inline
Side-by-side
api-gateway/src/main/java/ee/sm/ti/teis/commongateway/security/mock/MockAuthService.java
View file @
a3182af5
...
...
@@ -133,7 +133,7 @@ public class MockAuthService {
UriComponentsBuilder
uriBuilder
;
if
(
isOfficeUser
)
{
if
(
hasMockRoles
||
hasMockPrivileges
)
{
uriBuilder
=
composeMockUri
(
mockUser
,
authUserInfoProperties
.
getOfficeUserInfoPath
());
uriBuilder
=
composeMockUri
(
mockUser
,
authUserInfoProperties
.
get
Mock
OfficeUserInfoPath
());
}
else
{
uriBuilder
=
UriComponentsBuilder
.
fromHttpUrl
(
authUserInfoProperties
.
getUrl
()
+
authUserInfoProperties
.
getOfficeUserInfoPath
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment