Skip to content

Commit

Permalink
Remove useless comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 committed Aug 22, 2023
1 parent bef85da commit be26148
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,6 @@ private AuthCredentials extractCredentials0(final RestRequest request) {
return null;
}

// final String tokenType = claims.get(TOKEN_TYPE_CLAIM).toString();
// if (!tokenType.equals(TOKEN_TYPE)) {
// log.error("This toke is not verifying as an on-behalf-of token");
// return null;
// }

final String issuer = claims.getIssuer();
final String clusterName = OpenSearchSecurityPlugin.getClusterName().getClusterName().value();
if (!issuer.equals(clusterName)) {
Expand Down

0 comments on commit be26148

Please sign in to comment.