Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Security and Compliance
entitlements-azure
Commits
d22d1173
Commit
d22d1173
authored
Sep 17, 2020
by
Alok Joshi
Browse files
comment
parent
e4319ef9
Pipeline
#9131
failed with stage
in 2 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/opengroup/osdu/azure/entitlements/service/EntitlementsAzure.java
View file @
d22d1173
...
...
@@ -460,10 +460,8 @@ public class EntitlementsAzure
context
.
setUid
(
userPrincipal
.
getClaim
(
"appid"
).
toString
());
context
.
setOid
(
userPrincipal
.
getClaim
(
"oid"
).
toString
());
}
else
if
(
type
==
UserType
.
OTHER
){
// non-AAD tokens
String
oId
=
userPrincipal
.
getClaim
(
"email"
).
toString
();
if
(
StringUtils
.
isEmpty
(
oId
))
{
oId
=
userPrincipal
.
getClaim
(
"userid"
).
toString
();
}
context
.
setOid
(
oId
);
}
return
context
;
...
...
Write
Preview
Supports
Markdown
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