Skip to content

Commit e9e03d1

Browse files
committed
AUT-2597 Add a note regarding recursive fallbacks
1 parent 9764e74 commit e9e03d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/eu/webeid/resilientocsp/ResilientOcspCertificateRevocationChecker.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ private CheckedSupplier<RevocationInfo> buildFallbackSupplier(OcspService primar
139139
throw e;
140140
}
141141
};
142+
// NOTE: Up to two fallbacks are currently supported. To enable the full potential of recursive fallbacks
143+
// with FallbackOcspService#getNextFallback, the fallback supplier creation needs to be changed.
142144
OcspService secondFallbackService = firstFallbackService.getNextFallback();
143145
if (secondFallbackService == null) {
144146
return firstFallbackSupplier;

0 commit comments

Comments
 (0)