mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
fix(ec2): use EC2 envelopes for token and signature errors (#7640)
This commit is contained in:
1 parent
07d75c8c8e
commit
81ff58630e
7 files changed
+216
-5
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package io.github.hectorvent.floci.core.common;
|
||||
|
||||
import io.github.hectorvent.floci.services.iam.RequestBodyReader;
|
||||
import jakarta.ws.rs.container.ContainerRequestContext;
|
||||
import jakarta.ws.rs.core.MediaType;
|
||||
import jakarta.ws.rs.core.Response;
|
||||
|
||||
@@ -11,6 +13,25 @@ public final class Ec2ErrorResponses {
|
||||
private Ec2ErrorResponses() {
|
||||
}
|
||||
|
||||
static boolean isEc2QueryRequest(ContainerRequestContext ctx) {
|
||||
if (!(ctx.getProperty(AwsProtocolClaimFilter.CLAIM_PROPERTY) instanceof ProtocolClaim claim)
|
||||
|| claim.protocol() != WireProtocol.AWS_QUERY) {
|
||||
return false;
|
||||
}
|
||||
if (claim.service() != null) {
|
||||
return "ec2".equals(claim.service().externalKey());
|
||||
}
|
||||
try {
|
||||
String action = AwsQueryServiceResolver.action(RequestBodyReader.formField(ctx, "Action"),
|
||||
RequestBodyReader.formField(ctx, "Operation"));
|
||||
return action != null && "ec2".equals(AwsQueryController.inferServiceFromAction(action,
|
||||
RequestBodyReader.formField(ctx, "Version")));
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
// A malformed form cannot identify a service; retain the generic protocol error.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static Response authFailure() {
|
||||
return of("AuthFailure", "AWS was not able to validate the provided access credentials", 401);
|
||||
}
|
||||
|
||||
@@ -2064,10 +2064,13 @@ public class IamEnforcementFilter implements ContainerRequestFilter {
|
||||
|
||||
/**
|
||||
* The response for a session whose temporary credentials have expired. S3's error list names it
|
||||
* {@code ExpiredToken}, 400. The other services' common errors name it
|
||||
* {@code ExpiredToken}, 400. EC2 names it {@code RequestExpired}. The other services' common errors name it
|
||||
* {@code ExpiredTokenException}, 403, under the same name for Query services as for JSON ones.
|
||||
*/
|
||||
static Response expiredTokenResponse(String credentialScope, ContainerRequestContext ctx) {
|
||||
if ("ec2".equals(credentialScope)) {
|
||||
return Ec2ErrorResponses.of("RequestExpired", EXPIRED_TOKEN, 400);
|
||||
}
|
||||
if ("s3".equals(credentialScope)) {
|
||||
return s3XmlError("ExpiredToken", S3_EXPIRED_TOKEN, 400);
|
||||
}
|
||||
@@ -2094,6 +2097,9 @@ public class IamEnforcementFilter implements ContainerRequestFilter {
|
||||
*/
|
||||
static Response incompleteSignatureResponse(String credentialScope, ContainerRequestContext ctx,
|
||||
String message) {
|
||||
if ("ec2".equals(credentialScope) || Ec2ErrorResponses.isEc2QueryRequest(ctx)) {
|
||||
return Ec2ErrorResponses.of("IncompleteSignature", message, 400);
|
||||
}
|
||||
if ("s3".equals(credentialScope)) {
|
||||
String header = ctx.getHeaderString("Authorization");
|
||||
if (header == null || header.isBlank()) {
|
||||
@@ -2163,6 +2169,9 @@ public class IamEnforcementFilter implements ContainerRequestFilter {
|
||||
* returns for the same failure on its own path.
|
||||
*/
|
||||
static Response missingAuthenticationTokenResponse(WireProtocol protocol, ContainerRequestContext ctx) {
|
||||
if (protocol == WireProtocol.AWS_QUERY && Ec2ErrorResponses.isEc2QueryRequest(ctx)) {
|
||||
return Ec2ErrorResponses.of("MissingAuthenticationToken", MISSING_AUTHENTICATION_TOKEN, 403);
|
||||
}
|
||||
return protocolError(protocol, ctx, "MissingAuthenticationToken", "MissingAuthenticationTokenException",
|
||||
MISSING_AUTHENTICATION_TOKEN, 403);
|
||||
}
|
||||
|
||||
+22
-4
@@ -86,11 +86,13 @@ import java.util.function.UnaryOperator;
|
||||
* <p>Errors follow the protocol the request used: a Query or REST-XML request (Route 53,
|
||||
* CloudFront, S3 Control) receives an {@code <ErrorResponse>}, a CBOR request a CBOR body, and
|
||||
* everything else JSON, which REST-JSON clients read through {@code X-Amzn-Errortype}. The codes
|
||||
* are AWS's: {@code IncompleteSignature} for a header that cannot be checked,
|
||||
* use EC2's {@code Response/Errors/Error} envelope when the Query request identifies EC2.
|
||||
* The codes are AWS's: {@code IncompleteSignature} for a header that cannot be checked,
|
||||
* {@code InvalidClientTokenId} / {@code UnrecognizedClientException} for an access key Floci does
|
||||
* not know (EC2 instead answers {@code AuthFailure} in its own envelope), and
|
||||
* {@code SignatureDoesNotMatch} / {@code InvalidSignatureException} for a signature
|
||||
* that does not verify, exceeds its query expiry or falls outside the header clock-skew window.
|
||||
* EC2 uses {@code RequestExpired} for expiry and clock skew, including expired temporary credentials.
|
||||
*
|
||||
* <p>Nothing here runs with the flag off: the filter returns before reading a single header.
|
||||
*/
|
||||
@@ -236,6 +238,10 @@ public class SigV4HeaderSignatureFilter implements ContainerRequestFilter {
|
||||
LOG.debugv("Refusing {0} request signed with unknown access key {1}",
|
||||
scope.service(), SigV4RequestValidator.sanitizeForLog(scope.accessKeyId()));
|
||||
if (resource == AwsQueryController.class && "ec2".equals(scope.service())) {
|
||||
if (iamService.isExpiredSessionToken(scope.accessKeyId(), token)) {
|
||||
ctx.abortWith(IamEnforcementFilter.expiredTokenResponse(scope.service(), ctx));
|
||||
return;
|
||||
}
|
||||
ctx.abortWith(Ec2ErrorResponses.authFailure());
|
||||
return;
|
||||
}
|
||||
@@ -246,17 +252,17 @@ public class SigV4HeaderSignatureFilter implements ContainerRequestFilter {
|
||||
String amzDate = AMZ_DATE.format(requestTime);
|
||||
Instant now = Instant.now();
|
||||
if (presigned && !now.isBefore(requestTime.plusSeconds(expires))) {
|
||||
signatureDoesNotMatch(ctx, resource, "Signature expired: " + amzDate + " is now earlier than "
|
||||
requestExpired(ctx, resource, "Signature expired: " + amzDate + " is now earlier than "
|
||||
+ AMZ_DATE.format(now.minusSeconds(expires)));
|
||||
return;
|
||||
}
|
||||
if (requestTime.isAfter(now.plus(MAX_CLOCK_SKEW))) {
|
||||
signatureDoesNotMatch(ctx, resource, "Signature not yet current: " + amzDate + " is still later than "
|
||||
requestExpired(ctx, resource, "Signature not yet current: " + amzDate + " is still later than "
|
||||
+ AMZ_DATE.format(now.plus(MAX_CLOCK_SKEW)));
|
||||
return;
|
||||
}
|
||||
if (!presigned && requestTime.isBefore(now.minus(MAX_CLOCK_SKEW))) {
|
||||
signatureDoesNotMatch(ctx, resource, "Signature expired: " + amzDate + " is now earlier than "
|
||||
requestExpired(ctx, resource, "Signature expired: " + amzDate + " is now earlier than "
|
||||
+ AMZ_DATE.format(now.minus(MAX_CLOCK_SKEW)));
|
||||
return;
|
||||
}
|
||||
@@ -449,6 +455,14 @@ public class SigV4HeaderSignatureFilter implements ContainerRequestFilter {
|
||||
abort(ctx, resource, 400, "IncompleteSignature", "IncompleteSignatureException", message);
|
||||
}
|
||||
|
||||
private void requestExpired(ContainerRequestContext ctx, Class<?> resource, String message) {
|
||||
if (resource == AwsQueryController.class && Ec2ErrorResponses.isEc2QueryRequest(ctx)) {
|
||||
ctx.abortWith(Ec2ErrorResponses.of("RequestExpired", message, 400));
|
||||
return;
|
||||
}
|
||||
signatureDoesNotMatch(ctx, resource, message);
|
||||
}
|
||||
|
||||
private void signatureDoesNotMatch(ContainerRequestContext ctx, Class<?> resource, String message) {
|
||||
abort(ctx, resource, 403, "SignatureDoesNotMatch", "InvalidSignatureException", message);
|
||||
}
|
||||
@@ -462,6 +476,10 @@ public class SigV4HeaderSignatureFilter implements ContainerRequestFilter {
|
||||
*/
|
||||
private void abort(ContainerRequestContext ctx, Class<?> resource, int status, String queryCode,
|
||||
String jsonCode, String message) {
|
||||
if (resource == AwsQueryController.class && Ec2ErrorResponses.isEc2QueryRequest(ctx)) {
|
||||
ctx.abortWith(Ec2ErrorResponses.of(queryCode, message, status));
|
||||
return;
|
||||
}
|
||||
String contentType = requestContentType(ctx);
|
||||
if (isCbor(ctx, contentType)) {
|
||||
ctx.abortWith(CborErrorResponses.of(new AwsException(jsonCode, message, status),
|
||||
|
||||
@@ -22,6 +22,10 @@ import java.net.URI;
|
||||
import java.util.UUID;
|
||||
|
||||
import static io.github.hectorvent.floci.testing.EnforcementFixtures.auth;
|
||||
import static io.restassured.RestAssured.given;
|
||||
import static org.hamcrest.Matchers.emptyOrNullString;
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
import static org.hamcrest.Matchers.not;
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
@@ -77,6 +81,22 @@ class Ec2IamErrorIntegrationTest {
|
||||
"AWS was not able to validate the provided access credentials");
|
||||
}
|
||||
|
||||
@Test
|
||||
void missingCredentialsUseEc2Envelope() {
|
||||
given().formParam("Action", "DescribeVpcs").formParam("Version", "2016-11-15")
|
||||
.post(endpoint).then().statusCode(403)
|
||||
.body("Response.Errors.Error.Code", equalTo("MissingAuthenticationToken"))
|
||||
.body("Response.RequestID", not(emptyOrNullString()));
|
||||
}
|
||||
|
||||
@Test
|
||||
void unreadableCredentialUsesEc2Envelope() {
|
||||
given().header("Authorization", "AWS4-HMAC-SHA256 broken")
|
||||
.formParam("Action", "DescribeVpcs").formParam("Version", "2016-11-15")
|
||||
.post(endpoint).then().statusCode(400)
|
||||
.body("Response.Errors.Error.Code", equalTo("IncompleteSignature"));
|
||||
}
|
||||
|
||||
private UserCredentials user(String name) {
|
||||
return EnforcementFixtures.createUser(cleanup, endpoint.getPort(), auth("000000000000", "iam"), name);
|
||||
}
|
||||
|
||||
+100
@@ -1,20 +1,32 @@
|
||||
package io.github.hectorvent.floci.core.common;
|
||||
|
||||
import io.github.hectorvent.floci.services.iam.IamService;
|
||||
import io.github.hectorvent.floci.testing.AwsTestClients;
|
||||
import io.github.hectorvent.floci.testing.PartitionCleanup;
|
||||
import io.github.hectorvent.floci.testing.ValidateSignaturesProfile;
|
||||
import io.github.hectorvent.floci.testutil.AwsRequestSigner;
|
||||
import io.quarkus.test.common.http.TestHTTPResource;
|
||||
import io.quarkus.test.junit.QuarkusTest;
|
||||
import io.quarkus.test.junit.TestProfile;
|
||||
import jakarta.inject.Inject;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.RegisterExtension;
|
||||
import org.junit.jupiter.params.ParameterizedTest;
|
||||
import org.junit.jupiter.params.provider.ValueSource;
|
||||
import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
|
||||
import software.amazon.awssdk.auth.credentials.AwsCredentials;
|
||||
import software.amazon.awssdk.auth.credentials.AwsSessionCredentials;
|
||||
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
|
||||
import software.amazon.awssdk.http.apache5.Apache5HttpClient;
|
||||
import software.amazon.awssdk.regions.Region;
|
||||
import software.amazon.awssdk.services.ec2.Ec2Client;
|
||||
import software.amazon.awssdk.services.ec2.model.Ec2Exception;
|
||||
|
||||
import java.net.URI;
|
||||
import java.time.Instant;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import static io.restassured.RestAssured.given;
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
@@ -29,6 +41,49 @@ class Ec2SignatureErrorIntegrationTest {
|
||||
@TestHTTPResource("/")
|
||||
URI endpoint;
|
||||
|
||||
@Inject
|
||||
IamService iamService;
|
||||
|
||||
@RegisterExtension
|
||||
final PartitionCleanup cleanup = new PartitionCleanup();
|
||||
|
||||
@ParameterizedTest
|
||||
@ValueSource(strings = {"matching", "wrong", "missing", "live"})
|
||||
void temporaryCredentialExpiryRequiresTheMatchingToken(String tokenMode) throws Exception {
|
||||
String key = "ASIA" + UUID.randomUUID().toString().replace("-", "").substring(0, 16);
|
||||
cleanup.register(() -> iamService.unregisterSession("000000000000", key));
|
||||
iamService.registerSession(key, "session-secret", "issued-token",
|
||||
"arn:aws:iam::000000000000:role/expired-session", "live".equals(tokenMode)
|
||||
? Instant.now().plusSeconds(3600) : Instant.parse("2020-01-01T00:00:00Z"), null);
|
||||
AwsCredentials credentials = "missing".equals(tokenMode)
|
||||
? AwsBasicCredentials.create(key, "session-secret")
|
||||
: AwsSessionCredentials.create(key, "session-secret",
|
||||
"wrong".equals(tokenMode) ? "wrong-token" : "issued-token");
|
||||
try (Ec2Client client = Ec2Client.builder().endpointOverride(endpoint).region(Region.US_EAST_1)
|
||||
.httpClientBuilder(Apache5HttpClient.builder())
|
||||
.credentialsProvider(StaticCredentialsProvider.create(credentials)).build()) {
|
||||
if ("live".equals(tokenMode)) {
|
||||
assertNotNull(client.describeVpcs().vpcs());
|
||||
return;
|
||||
}
|
||||
Ec2Exception denied = assertThrows(Ec2Exception.class, client::describeVpcs);
|
||||
assertEquals("matching".equals(tokenMode) ? 400 : 401, denied.statusCode());
|
||||
assertEquals("matching".equals(tokenMode) ? "RequestExpired" : "AuthFailure",
|
||||
denied.awsErrorDetails().errorCode());
|
||||
assertNotNull(denied.requestId());
|
||||
}
|
||||
Map<String, String> query = new HashMap<>(Map.of("Action", "DescribeVpcs", "Version", "2016-11-15"));
|
||||
if (!"missing".equals(tokenMode)) {
|
||||
query.put("X-Amz-Security-Token", "wrong".equals(tokenMode) ? "wrong-token" : "issued-token");
|
||||
}
|
||||
URI presigned = AwsRequestSigner.signedAs(key, "session-secret", "ec2")
|
||||
.presignedUri("GET", endpoint, query, new byte[0]);
|
||||
given().urlEncodingEnabled(false).get(presigned).then()
|
||||
.statusCode("matching".equals(tokenMode) ? 400 : 401)
|
||||
.body("Response.Errors.Error.Code",
|
||||
equalTo("matching".equals(tokenMode) ? "RequestExpired" : "AuthFailure"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void sdkParsesAnUnknownAccessKeyWithSignatureValidation() {
|
||||
try (Ec2Client client = AwsTestClients.create(Ec2Client.builder(),
|
||||
@@ -50,6 +105,51 @@ class Ec2SignatureErrorIntegrationTest {
|
||||
"AWS was not able to validate the provided access credentials");
|
||||
}
|
||||
|
||||
@ParameterizedTest
|
||||
@ValueSource(booleans = {false, true})
|
||||
void badSignaturesOnSignedAndPresignedGetUseEc2Envelope(boolean presigned) throws Exception {
|
||||
AwsRequestSigner signer = AwsRequestSigner.signedAs("test", "wrong-secret", "ec2");
|
||||
Ec2ErrorAssertions.assertGetError(signer, endpoint, presigned, 403, "SignatureDoesNotMatch",
|
||||
"The request signature we calculated does not match");
|
||||
}
|
||||
|
||||
@ParameterizedTest
|
||||
@ValueSource(longs = {-1800, 1800})
|
||||
void headerTimestampSkewUsesRequestExpired(long offset) throws Exception {
|
||||
AwsRequestSigner signer = AwsRequestSigner.signedAs("test", "test", "ec2")
|
||||
.signedAt(Instant.now().plusSeconds(offset));
|
||||
Ec2ErrorAssertions.assertGetError(signer, endpoint, false, 400, "RequestExpired",
|
||||
offset < 0 ? "Signature expired:" : "Signature not yet current:");
|
||||
}
|
||||
|
||||
@ParameterizedTest
|
||||
@ValueSource(longs = {-1800, 1800})
|
||||
void presignedExpiryAndFutureTimestampUseRequestExpired(long offset) throws Exception {
|
||||
AwsRequestSigner signer = AwsRequestSigner.signedAs("test", "test", "ec2")
|
||||
.signedAt(Instant.now().plusSeconds(offset));
|
||||
Ec2ErrorAssertions.assertGetError(signer, endpoint, true, 400, "RequestExpired",
|
||||
offset < 0 ? "Signature expired:" : "Signature not yet current:");
|
||||
}
|
||||
|
||||
@Test
|
||||
void sdkParsesBadSignature() {
|
||||
try (Ec2Client client = AwsTestClients.create(Ec2Client.builder(),
|
||||
"test", "wrong-secret", Region.US_EAST_1, endpoint)) {
|
||||
Ec2Exception denied = assertThrows(Ec2Exception.class, client::describeVpcs);
|
||||
assertEquals(403, denied.statusCode());
|
||||
assertEquals("SignatureDoesNotMatch", denied.awsErrorDetails().errorCode());
|
||||
assertNotNull(denied.requestId());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void incompleteSignatureUsesEc2Envelope() {
|
||||
given().header("Authorization", "AWS4-HMAC-SHA256 Credential=test/20261105/us-east-1/ec2/aws4_request")
|
||||
.queryParam("Action", "DescribeVpcs").queryParam("Version", "2016-11-15")
|
||||
.get(endpoint).then().statusCode(400)
|
||||
.body("Response.Errors.Error.Code", equalTo("IncompleteSignature"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void anEc2SigningScopeDoesNotChangeRestJsonErrors() {
|
||||
given().filter(AwsRequestSigner.signedAs("AKIAUNKNOWNACCESSKEY", "some-secret", "ec2"))
|
||||
|
||||
@@ -740,6 +740,27 @@ class IamEnforcementFilterTest {
|
||||
entityString(response.getValue()));
|
||||
}
|
||||
|
||||
@Test
|
||||
void anExpiredSessionOnEc2UsesItsOwnEnvelope() {
|
||||
ContainerRequestContext containerRequest = mock(ContainerRequestContext.class);
|
||||
String auth = "AWS4-HMAC-SHA256 Credential=ASIAEXPIRED/20260629/us-east-1/ec2/aws4_request, "
|
||||
+ "SignedHeaders=host, Signature=garbage";
|
||||
requestContext.setAccountId("000000000000");
|
||||
when(accountResolver.extractAccessKeyId(auth)).thenReturn("ASIAEXPIRED");
|
||||
when(containerRequest.getHeaderString("Authorization")).thenReturn(auth);
|
||||
when(containerRequest.getMediaType()).thenReturn(MediaType.APPLICATION_FORM_URLENCODED_TYPE);
|
||||
when(actionRegistry.resolve("ec2", containerRequest)).thenReturn("ec2:DescribeVpcs");
|
||||
when(iamService.isExpiredSession(eq("ASIAEXPIRED"), any())).thenReturn(true);
|
||||
|
||||
newFilter().filter(containerRequest);
|
||||
|
||||
ArgumentCaptor<Response> response = ArgumentCaptor.captor();
|
||||
verify(containerRequest).abortWith(response.capture());
|
||||
assertEquals(400, response.getValue().getStatus());
|
||||
assertTrue(entityString(response.getValue()).contains("<Response><Errors><Error><Code>RequestExpired</Code>"),
|
||||
entityString(response.getValue()));
|
||||
}
|
||||
|
||||
@Test
|
||||
void anExpiredSessionOnAnS3RequestIsRejectedWithTheS3ErrorCode() {
|
||||
ContainerRequestContext containerRequest = mock(ContainerRequestContext.class);
|
||||
|
||||
+22
@@ -1,5 +1,6 @@
|
||||
package io.github.hectorvent.floci.services.iam;
|
||||
|
||||
import io.github.hectorvent.floci.testing.AwsTestClients;
|
||||
import io.github.hectorvent.floci.testing.EnforcementFixtures;
|
||||
import io.github.hectorvent.floci.testing.IamEnforcementProfile;
|
||||
import io.github.hectorvent.floci.testing.MutableClock;
|
||||
@@ -13,6 +14,9 @@ import jakarta.inject.Inject;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.RegisterExtension;
|
||||
import software.amazon.awssdk.regions.Region;
|
||||
import software.amazon.awssdk.services.ec2.Ec2Client;
|
||||
import software.amazon.awssdk.services.ec2.model.Ec2Exception;
|
||||
|
||||
import java.net.URI;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
@@ -24,6 +28,9 @@ import java.util.UUID;
|
||||
import static io.github.hectorvent.floci.testing.EnforcementFixtures.auth;
|
||||
import static io.restassured.RestAssured.given;
|
||||
import static org.hamcrest.Matchers.containsString;
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
|
||||
/**
|
||||
* With enforcement on, a session past its expiration on the injected clock is answered with AWS's
|
||||
@@ -65,6 +72,21 @@ class ExpiredSessionEnforcementIntegrationTest {
|
||||
RestAssuredJsonUtils.configureAwsContentTypes();
|
||||
}
|
||||
|
||||
@Test
|
||||
void ec2SdkReadsRequestExpiredWithoutDeletingTheSession() {
|
||||
String key = expiredSession();
|
||||
try (Ec2Client client = AwsTestClients.create(Ec2Client.builder(), key, "secret",
|
||||
Region.US_EAST_1, baseUri)) {
|
||||
for (int attempt = 0; attempt < 2; attempt++) {
|
||||
Ec2Exception denied = assertThrows(Ec2Exception.class, client::describeVpcs);
|
||||
assertEquals(400, denied.statusCode());
|
||||
assertEquals("RequestExpired", denied.awsErrorDetails().errorCode());
|
||||
assertNotNull(denied.requestId());
|
||||
}
|
||||
}
|
||||
getCallerIdentity(key).then().statusCode(403).body(containsString("<Code>ExpiredTokenException</Code>"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void anExpiredSessionIsRefusedAsExpired() {
|
||||
String accessKeyId = expiredSession();
|
||||
|
||||
Reference in new issue
Block a user