Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature/Extension] Restrict OBO token's usage for certain endpoints #3008
[Feature/Extension] Restrict OBO token's usage for certain endpoints #3008
Changes from all commits
bbe617e
5a190ce
171dd30
0dfc5ef
18dc94c
c443b7a
d5ec0ab
4b095ae
f4410fb
ad9b6bf
a2a32d7
7ef3edf
b837cb9
082874a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 75 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L75
Check warning on line 98 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L98
Check warning on line 100 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L100
Check warning on line 105 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L105
Check warning on line 108 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L108
Check warning on line 112 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L112
Check warning on line 115 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L115
Check warning on line 118 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L118
Check warning on line 121 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L120-L121
Check warning on line 127 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L123-L127
Check warning on line 133 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L129-L133
Check warning on line 136 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L135-L136
Check warning on line 138 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L138
Check warning on line 140 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L140
Check warning on line 144 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L143-L144
Check warning on line 148 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L146-L148
Check warning on line 152 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L150-L152
Check warning on line 158 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L154-L158
Check warning on line 163 in src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/action/onbehalf/CreateOnBehalfOfTokenAction.java#L163
Check warning on line 49 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L48-L49
Check warning on line 90 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L90
Check warning on line 94 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L93-L94
Check warning on line 96 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L96
Check warning on line 130 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L129-L130
Check warning on line 150 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L150
Check warning on line 154 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L154
Check warning on line 156 in src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java#L156
Check warning on line 96 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L96
Check warning on line 110 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L110
Check warning on line 115 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L114-L115
Check warning on line 117 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L117
Check warning on line 121 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L120-L121
Check warning on line 124 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L124
Check warning on line 133 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L133
Check warning on line 154 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L153-L154
Check warning on line 161 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L161
Check warning on line 174 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L174
Check warning on line 189 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L187-L189
Check warning on line 203 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L202-L203
Check warning on line 209 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L208-L209
Check warning on line 225 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L223-L225
Check warning on line 229 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L229
Check warning on line 237 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L237
Check warning on line 242 in src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java#L242
Check warning on line 68 in src/main/java/org/opensearch/security/ssl/util/ExceptionUtils.java
Codecov / codecov/patch
src/main/java/org/opensearch/security/ssl/util/ExceptionUtils.java#L68