Skip to content
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

Add early rejection from RestHandler for unauthorized requests #3418

Merged
merged 120 commits into from
Oct 6, 2023

Fix spotless issues

308645c
Select commit
Loading
Failed to load commit list.
Merged

Add early rejection from RestHandler for unauthorized requests #3418

Fix spotless issues
308645c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 6, 2023 in 1s

76.19% of diff hit (target 64.23%)

View this Pull Request on Codecov

76.19% of diff hit (target 64.23%)

Annotations

Check warning on line 156 in src/main/java/com/amazon/dlic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java#L156

Added line #L156 was not covered by tests

Check warning on line 159 in src/main/java/com/amazon/dlic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java#L159

Added line #L159 was not covered by tests

Check warning on line 245 in src/main/java/com/amazon/dlic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java#L244-L245

Added lines #L244 - L245 were not covered by tests

Check warning on line 180 in src/main/java/com/amazon/dlic/auth/http/jwt/HTTPJwtAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/jwt/HTTPJwtAuthenticator.java#L179-L180

Added lines #L179 - L180 were not covered by tests

Check warning on line 289 in src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java#L287-L289

Added lines #L287 - L289 were not covered by tests

Check warning on line 292 in src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java#L291-L292

Added lines #L291 - L292 were not covered by tests

Check warning on line 296 in src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java#L296

Added line #L296 was not covered by tests

Check warning on line 298 in src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java#L298

Added line #L298 was not covered by tests

Check warning on line 301 in src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java#L301

Added line #L301 was not covered by tests

Check warning on line 385 in src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java#L385

Added line #L385 was not covered by tests

Check warning on line 242 in src/main/java/com/amazon/dlic/auth/http/saml/AuthTokenProcessorHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/saml/AuthTokenProcessorHandler.java#L242

Added line #L242 was not covered by tests

Check warning on line 158 in src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java#L158

Added line #L158 was not covered by tests

Check warning on line 164 in src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java#L164

Added line #L164 was not covered by tests

Check warning on line 167 in src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java#L167

Added line #L167 was not covered by tests

Check warning on line 187 in src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/com/amazon/dlic/auth/http/saml/HTTPSamlAuthenticator.java#L187

Added line #L187 was not covered by tests

Check warning on line 204 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L204

Added line #L204 was not covered by tests

Check warning on line 207 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L207

Added line #L207 was not covered by tests

Check warning on line 236 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L236

Added line #L236 was not covered by tests

Check warning on line 300 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L300

Added line #L300 was not covered by tests

Check warning on line 317 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L317

Added line #L317 was not covered by tests

Check warning on line 320 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L319-L320

Added lines #L319 - L320 were not covered by tests

Check warning on line 347 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L347

Added line #L347 was not covered by tests

Check warning on line 358 in src/main/java/org/opensearch/security/auth/BackendRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/auth/BackendRegistry.java#L358

Added line #L358 was not covered by tests

Check warning on line 512 in src/main/java/org/opensearch/security/configuration/DlsFlsValveImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/configuration/DlsFlsValveImpl.java#L510-L512

Added lines #L510 - L512 were not covered by tests

Check warning on line 561 in src/main/java/org/opensearch/security/configuration/DlsFlsValveImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/configuration/DlsFlsValveImpl.java#L560-L561

Added lines #L560 - L561 were not covered by tests