Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class CachedJwtSource implements JwtSource {
private final
Map<ImmutablePair<SpiffeId, Set<String>>, List<JwtSvid>> jwtSvids = new ConcurrentHashMap<>();

private JwtBundleSet bundles;
private volatile JwtBundleSet bundles;

private final WorkloadApiClient workloadApiClient;
private volatile boolean closed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class DefaultJwtSource implements JwtSource {
static final Duration DEFAULT_TIMEOUT =
Duration.parse(System.getProperty(TIMEOUT_SYSTEM_PROPERTY, "PT0S"));

private JwtBundleSet bundles;
private volatile JwtBundleSet bundles;

private final WorkloadApiClient workloadApiClient;
private volatile boolean closed;
Expand Down