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
sunbird-lms-service
Commits
11fdf9bc
Unverified
Commit
11fdf9bc
authored
3 years ago
by
sknirmalkar89
Committed by
GitHub
3 years ago
Browse files
Options
Download
Patches
Plain Diff
SB-28404:[SSO > Global consent]issue:update consumer_id,object_id with root org id (#1042)
parent
bd4ca63b
release-4.6.0
release-4.6.0_RC9
release-4.6.0_RC8
release-4.6.0_RC7
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/src/main/java/org/sunbird/actor/user/TenantMigrationActor.java
+2
-2
...ain/java/org/sunbird/actor/user/TenantMigrationActor.java
with
2 additions
and
2 deletions
+2
-2
service/src/main/java/org/sunbird/actor/user/TenantMigrationActor.java
+
2
−
2
View file @
11fdf9bc
...
@@ -182,8 +182,8 @@ public class TenantMigrationActor extends BaseActor {
...
@@ -182,8 +182,8 @@ public class TenantMigrationActor extends BaseActor {
// Revoke org consent
// Revoke org consent
Map
<
String
,
Object
>
consentReqMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
consentReqMap
=
new
HashMap
<>();
consentReqMap
.
put
(
JsonKey
.
USER_ID
,
(
String
)
request
.
getRequest
().
get
(
JsonKey
.
USER_ID
));
consentReqMap
.
put
(
JsonKey
.
USER_ID
,
(
String
)
request
.
getRequest
().
get
(
JsonKey
.
USER_ID
));
consentReqMap
.
put
(
JsonKey
.
CONSENT_CONSUMERID
,
orgId
);
consentReqMap
.
put
(
JsonKey
.
CONSENT_CONSUMERID
,
request
.
getRequest
().
get
(
JsonKey
.
ROOT_ORG_ID
)
);
consentReqMap
.
put
(
JsonKey
.
CONSENT_OBJECTID
,
orgId
);
consentReqMap
.
put
(
JsonKey
.
CONSENT_OBJECTID
,
request
.
getRequest
().
get
(
JsonKey
.
ROOT_ORG_ID
)
);
consentReqMap
.
put
(
JsonKey
.
CONSENT_OBJECTTYPE
,
JsonKey
.
CONSENT_OBJECTTYPE_ORG
);
consentReqMap
.
put
(
JsonKey
.
CONSENT_OBJECTTYPE
,
JsonKey
.
CONSENT_OBJECTTYPE_ORG
);
consentReqMap
.
put
(
JsonKey
.
STATUS
,
JsonKey
.
CONSENT_STATUS_REVOKED
);
consentReqMap
.
put
(
JsonKey
.
STATUS
,
JsonKey
.
CONSENT_STATUS_REVOKED
);
Response
consentRes
=
Response
consentRes
=
...
...
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