Skip to content

Commit

Permalink
Merge pull request #12 from hms-dbmi/DEV
Browse files Browse the repository at this point in the history
Bearer Double
  • Loading branch information
JREastonMarks committed Jun 2, 2016
2 parents 4558f51 + c0586e3 commit 24bc9e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class SecurityUtility {
public static String delegateToken(String namespace,
String resourceClientId, SecureSession session) {
if (((JWT) session.getToken()).getClientId().equals(resourceClientId)) {
return "Bearer " + session.getToken().toString();
return session.getToken().toString();
}

if (session.getDelegated().containsKey(resourceClientId)) {
Expand Down

0 comments on commit 24bc9e8

Please sign in to comment.