1 package com.atlassian.asap.api.exception;
2
3 import com.atlassian.asap.core.validator.ValidatedKeyId;
4
5 import java.net.URI;
6
7 /**
8 * Thrown when an incoming HTTP request cannot be authenticated using ASAP, and a retry of a request may succeed.
9 * This covers cases such as a temporary inability to retrieve the public key from the key server (like a communication
10 * failure or 500 error response).
11 */
12 public class TransientAuthenticationFailedException extends AuthenticationFailedException {
13 public TransientAuthenticationFailedException(String message, ValidatedKeyId keyId, URI keyUri, String unverifiedIssuer) {
14 super(message, keyId, keyUri, unverifiedIssuer);
15 }
16 }