Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
userManagement
Commits
1b5523ad
Commit
1b5523ad
authored
1 year ago
by
shishir suman
Browse files
Options
Download
Patches
Plain Diff
changes for adding logs
parent
9e4afa4b
uat
UAT_quick_fix_keycloak
UPHRH_8164_ErrorHandling
dev
dev_stable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/upsmf/userManagement/utility/KeycloakUserGetter.java
+2
-2
...ento/upsmf/userManagement/utility/KeycloakUserGetter.java
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/tarento/upsmf/userManagement/utility/KeycloakUserGetter.java
+
2
−
2
View file @
1b5523ad
...
...
@@ -46,7 +46,7 @@ public class KeycloakUserGetter {
}
public
String
findUser
(
final
String
userID
,
final
int
offset
,
final
int
size
)
throws
IOException
{
String
userEndpoint
=
KEYCLOAK_USER_BASE_URL
;
logger
.
info
(
"userEndpoint: "
,
userEndpoint
);
logger
.
info
(
"userEndpoint:
{}
"
,
userEndpoint
);
if
(
userID
!=
null
)
{
// userEndpoint = userEndpoint + "/" + userID;
userEndpoint
=
userEndpoint
+
"?username="
+
userID
+
"&exact=true"
;
...
...
@@ -55,7 +55,7 @@ public class KeycloakUserGetter {
parameter
=
String
.
format
(
parameter
,
offset
,
size
);
userEndpoint
=
userEndpoint
+
parameter
;
}
logger
.
info
(
"userEndpoint {} after adding userId : "
,
userEndpoint
);
logger
.
info
(
"userEndpoint {} after adding userId :
{}
"
,
userEndpoint
,
userID
);
JsonNode
adminToken
=
keycloakTokenRetriever
.
getAdminToken
();
logger
.
info
(
"adminToken: {}"
,
adminToken
);
String
accessToken
=
adminToken
.
get
(
"access_token"
).
asText
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets